GetSimple Support Forum

Full Version: i18n_merge
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm working on a small plugin with a multi-language interface.
The problem is that the selected language is not displayed immediately (content), but after the second click on submit.
Actually, I use the same way as in the admin settings to change the language.

I use this function:
PHP Code:
$xml getXML(dpeventGSECCONTENT);
$language $xml->lang_settings;
i18n_merge('dp_event'$language) || i18n_merge('dp_event''en_US');