Page 1 of 1

[Solved] Override the admin variables

Posted: Tue Sep 02, 2014 5:45 pm
by jissey
Hi,
in 1.11, we could override the admin variables $lang with admin/custom/lang/fr_FR/admin.inc.php.
And now, how can we do? I've tried a lot of mix without success and not seen anything like that in the code.

Re: Typos and Language Improvements in 2.0, please post here

Posted: Tue Sep 09, 2014 6:43 am
by airelibre
Hi everybody

Jissey, which string do you want to override?

I found another problem: in Site admin / Global settings / Smarty settings / the "?" next to "Enable smarty caching" make references to GCB which are not existing anymore. This may need update maybe?

Re: Typos and Language Improvements in 2.0, please post here

Posted: Tue Sep 09, 2014 6:51 am
by jissey
@airelibre : any string which is in the Lang folder in the admin

Re: Typos and Language Improvements in 2.0, please post here

Posted: Tue Sep 09, 2014 11:44 am
by airelibre
Found: use /admin/custom/lang/fr_FR.php filename, and not fr_FR/admin.inc.php

Source: class.CmsLangOperations.php line 114

But the documentation needs to be updated because in 1.11 it's admin.inc.php

Re: Override the admin variables with admin/custom/lang fail

Posted: Sat Sep 20, 2014 9:14 pm
by jissey
Hi,
yes it works...thanks AirLibre :)