Admin Language Switcher
-
I’m working on a new plugin that lets users choose their admin side language. This plugin only changes the admin locale, not the entire blogs. So if u have multiple authors each author can use wordpress admin in their preferred language. Each users language setting is saved in user profile in variable WP_ADMIN_LANG. The plugin automatically detecs the language files (.mo) in wp-content/languages folder and displays a dropdown box in users profile settings.
Everything works allready this far. But no here is the tricky part I havent found solution yet. I need to now when, and wich functions actually handles the loading of the locale. How can I override that function and can it be done by using action or filter hooks.
- The topic ‘Admin Language Switcher’ is closed to new replies.