Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION i18n_merge
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'); 

Users browsing this thread: 1 Guest(s)