Set locale for strftime in custom component

Is it possible to set the locale for the strftime function in a custom component?
I want to added option for users to display the day names in Dutch for a waste collector sensor I made. Right now I convert a date object to a string using strftime and then replace the english names to Dutch with a dictionary. But this is not that clean.
Is there a better way?