Bug #21729
closedchange language .js for ExtJS according to BE language
0%
Description
the ExtJS localization has default (english):
<script src="contrib/extjs/locale/ext-lang-en-min.js" type="text/javascript"></script>
if i have the BE in italian, IT DOES NOT substitute it with the correct:
<script src="contrib/extjs/locale/ext-lang-it-min.js" type="text/javascript"></script>
(it is important for the date widget for example...)
(issue imported from #M12828)
Files
Updated by Stefano Cecere almost 15 years ago
it seems tehre is a bug at line 1182 of /t3lib/class.t3lib_pagerenderer.php
$extJsLang = isset($localeMap[$this->lang]) ? $localeMap[$this->lang] : $this->lang;
maybe $this->lang is not set correct (because if i set it by hand at 'it' the right localization is included!)
Updated by Stefano Cecere almost 15 years ago
yes, the $this->lang (protected variable) is not set!
i don't know how to set it.. any core dev? :)
Updated by Stefano Cecere almost 15 years ago
wow.. i could create a patch for this bug! ( patch_12828.patch =
what do you think?
stefano