Resolves gh-60 with complete implementation of the language manager/translator feature. Added a purge function the clear unused language strings from the database and unlike them from the related component during compilation.

This commit is contained in:
2017-04-07 21:33:35 +01:00
parent d113d7b91b
commit 1cf259a54d
208 changed files with 399 additions and 245 deletions

View File

@ -1100,6 +1100,8 @@ class Infusion extends Interpretation
$this->multiLangString = $this->getMultiLangStrings($values);
// update insert the current lang in to DB
$this->setLangPlaceholders($values);
// remove old unused language strings
$this->purgeLanuageStrings($values);
// path to INI file
$getPAth = $this->templatePath . '/en-GB.com_admin.ini';
// now we insert the values into the files