Hello, guys.
I was managed to do multilingual website, everything works perfect, but locale switching
I have 2 files en_US.php and ru_RU.php in mysite/lang/ folder there're some params for templates, like:
$lang['en_US']['Page.ss']['BTN_FEEDBACK'] = 'feedback'; inside en_US.php
when i changing language of website content is changing and function Translatable::get_current_locale() returns en_US, content is changing, but those variables are still taken from ru_RU.php file.
I tried to add self::set_current_locale(Translatable::get_current_locale()); in Page_Controller->init(); and nothing has changed