Question
I translated all my theme strings and saved in .po and .mo files. I tested the implementation and it works fine, however I'm not sure how to let users choose their own language. Are there any built-in functions to do this? ...
0
, 1 week 0 Answers 32 views

Question
I'm currently using this to reload my theme and plugin textdomain in order to send e-mails (admin move, in admin language) in the user language. add_filter("theme_locale", array($this, "theme_locale"), 9999, 2); add_filter("plugin_locale", array($this, "plugin_locale"), 9999, 2); $this->load_textdomains(); remove_filter("theme_locale", array($this, "theme_locale"), 9999, 2); remove_filter("plugin_locale", array($this, "plugin_locale"), 9999, ...
0
, , 2 months 0 Answers 41 views