CC-4805: Localization -> Changing default language changes datatables and add media language setting
-fixed
This commit is contained in:
parent
e9a86b7bcf
commit
a65e72941f
4 changed files with 15 additions and 15 deletions
|
@ -34,13 +34,7 @@ $front->registerPlugin(new RabbitMqPlugin());
|
|||
|
||||
//localization configuration
|
||||
$codeset = 'UTF-8';
|
||||
$auth = Zend_Auth::getInstance();
|
||||
if ($auth->hasIdentity()) {
|
||||
$id = $auth->getIdentity()->id;
|
||||
$lang = Application_Model_Preference::GetCurrentUserLocale($id).'.'.$codeset;
|
||||
} else {
|
||||
$lang = Application_Model_Preference::GetLocale().'.'.$codeset;
|
||||
}
|
||||
$lang = Application_Model_Preference::GetLocale().'.'.$codeset;
|
||||
|
||||
putenv("LC_ALL=$lang");
|
||||
putenv("LANG=$lang");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue