Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I search, for a moment, how to translate all the messages who appears, for example, when fields are not valid.
For now, the default language is english, but i want to change it.
I see there was a "lang" directory in the module. How can I use it ?
in your config.php you have to activate the multilingial (i18n) support:
Then you have to set your system language:
Good luck ;)
I have already done this :
But, the administration backoffice send me an error :
[User Error] Couldn't run query: SELECT Lang FROM SiteTree_lang GROUP BY Lang Table 'ss_bizup.sitetree_lang' doesn't exist
Ok, for the rest, i modify the js files as you say.
So, I try to change to use the js file
... nothing change :(
i had that problem,
I run: sake /db/build/
and the admin section is restored but the site still displays the problem.
if i remove: i18n::set_default_lang('fr');
the site is displayed but no transplation
In my opinion, you must comment all the lines concerning the translation.