Страница 1 из 1

[closed] Language problem

Добавлено: 06 июл 2012, 13:35
tedk28
Hello, i've been busy long time and had no time to see the project evolution.
Now i downloaded latest 'master' release, i can see that language option is missing from user options page.
Also in administrator settings, the default language button dont show languages!

Изображение

I had to change default language & user language through database, also missing L_sys_for translation for sector buy in overview

Also problem in localization admin menu when trying to get texts

Warning: Invalid argument supplied for foreach() in C:\AppServ\www\admin\admin_locale.php on line 213

Re: Language problem

Добавлено: 06 июл 2012, 19:58
Gorlum
I'm currently working on new feature. Quick fix is done. You can apply fix by changing string in file

Код: Выделить всё

/includes/functions/lng_language.php
Replace

Код: Выделить всё

  $file_name = SN_ROOT_PHYSICAL . "language/" . $entry . '/language.mo';
with

Код: Выделить всё

  $file_name = SN_ROOT_PHYSICAL . "language/" . $entry . '/language.mo.php';

Re: Language problem

Добавлено: 07 июл 2012, 01:29
tedk28
Thanks Gorlum!