[wp-hackers] Multilanguage: how to redefine locale on the fly

Manuel Schmalstieg webdev at ms-studio.net
Thu Mar 7 17:39:44 UTC 2013

Ok, I just followed your advice, and implemented my little filter as a
plugin, instead of abusing functions.php.

As a result, date_i18n() and get_the_date() are now being rendered
with the modified locale. Brilliant!

Thanks Otto, Rafael and Andrew for your very helpful explanations.

More information about the wp-hackers mailing list