Comment to Language 'Recompile' bug
-
Yes, lang keys and strings are placed into sys_localization_ tables only. Yes, Polyglot creates the new pair key-string in the database tables `sys_localization_keys` and `sys_localization_strings` and then translates them to the language file (it is rewritten completely).
-
one last question, when polyglot rewrite the lang-php cache files after adding a new pair, which function does it use? is it restore or recompile function?
-
The following code:
if(!BxDolStudioLanguagesUtils::getInstance()->updateLanguageStringById($iId, $aStrings))
call the next one:
if($bRecompile)
$this->compileLanguage($aLanguage['id']);
-