The setting for the language of the administration panel in
Admin > Configuration > Setting > Admin is not working.
The only way to see the second language in the admin area is to comment out line 14
($this->lang = (APP == 'ADMIN')?'admin_language':'catalog_language')
in library\language\language.php (but then the admin language always follows the language
I have chosen in the catalog/frontend)
Actually, its not a bug... but a less than useful "feature"
The way language works is first it checks to see what the current session language is. If that is empty, it checks to see the browser language. If the browser language isn't supported, then and only then, will it default to the configuration setting.
That is the preferred method for language selection, but in this case it means that if you are on an english browser, you will never be able to change you admin language.
We need to add an "on-the-fly" language selector on the admin side, just as there is on the catalog side with the flags
The way language works is first it checks to see what the current session language is. If that is empty, it checks to see the browser language. If the browser language isn't supported, then and only then, will it default to the configuration setting.
That is the preferred method for language selection, but in this case it means that if you are on an english browser, you will never be able to change you admin language.
We need to add an "on-the-fly" language selector on the admin side, just as there is on the catalog side with the flags
fixed in r252
Added admin language selector
disabled by default, but can be enabled in the Admin->Extension->Modules Page under "Admin Language"
It is still important to note that the setting in Admin->Configuration->Setting- Admin/Local tabs is meant to be the default only if the browser language is not supported on your site.
For example,
if you have english, spanish, and greek on your site as supported languages, and your default language is set to spanish in the settings. If someone from USA with code "en" visits your site. He will see it in English.
But if someone from russia visits your site and his code is "ru", which is not supported, then he will see it in the default of spanish
Added admin language selector
disabled by default, but can be enabled in the Admin->Extension->Modules Page under "Admin Language"
It is still important to note that the setting in Admin->Configuration->Setting- Admin/Local tabs is meant to be the default only if the browser language is not supported on your site.
For example,
if you have english, spanish, and greek on your site as supported languages, and your default language is set to spanish in the settings. If someone from USA with code "en" visits your site. He will see it in English.
But if someone from russia visits your site and his code is "ru", which is not supported, then he will see it in the default of spanish
Last edited by Qphoria on Fri Dec 05, 2008 5:08 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 0 guests