Hello,
I've two questions about setting locales:
1. What is i18n::enable(); function doing? In this code:
i18n::enable();
i18n::set_default_lang('pl');
i18n::set_locale('pl_PL');
with this function commented/uncommented I don't see any different in working.
2. On local windows server in CMS all items are translated (admin account language is set to polish). When I moved site to linux server I've to problems:
* i'm getting error "Cannot use string offset as an array in <b>/sapphire/core/i18n.php</b> on line <b>859</b><br />" (problem is in i18n::enable(); function)
* not all cms items are translated. Translated is only right part of CMS (page edit tabs)
Why on one server is ok and on another isn't?