I almost finished my first plugin that enables an Admin with no knowledge of .php and MySQL to create forms that will be processed and create a .pdf file (according to the format supplied by the Admin).
At this point I want to do some internationalization (i18n), I got the language of the user saved in $_GET[‘lang’]. At this point I got .mo files for English and Dutch. Now I want to load the .mo file that corresponds to the language in $_GET[‘lang’]. When I read the codex I see that load_plugin_textdomain only loads the directory with language files but doesn’t enable me to switch from user language.
Any thoughts on how I could do this (I’ve been looking around a lot now, but can’t find anything useful.)
- The topic ‘Making plugin (used-side) multilingual’ is closed to new replies.