When I'm using dynamic locale to change site language, at every instance of gettext_th script shows following error:
Warning: Cannot modify header information - headers already sent by (output started at ........../zp-core/template-functions.php:4186) in ........../zp-core/functions.php on line 1599
What is it?
Comments
I'm using gettext_th('string') for all theme strings, /locale/ru_RU/magadan360.po and poedit as described in manual. The gettext('string') working fine.
Best guess as to what is happening is that Zenphoto is getting a failure trying to restotore the locale settings after the `gettext_th` call.
After some upgrades on my hoster's server function gettext_th is not working anymore. No matter what languase is set, it shows english all the time.
I have checked .po files, all OK. On local server everything is working fine.
You can check it on magadan360.ru.