17691 Posts in 4607 Topics by 2180 members
General Questions
SilverStripe Forums » General Questions » Question about multi-language in 2.3.2
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 866 Views |
-
Question about multi-language in 2.3.2

7 May 2009 at 9:39am
Hello,
I tested the new release and I've got some questions.
In mysite/_config.php, I add these lines
Object::add_extension('SiteTree', 'Translatable');
Translatable::set_default_locale('fr_FR');I've got the content language in french, it's OK.
But when I try to make this, the language is always english :
- Login to the admin zone : mysilverstripe.com/Security/login
How can I do ?
I must have these lines too ?
In 2.2.4, I had :
i18n::enable();
i18n::set_default_lang('fr');
i18n::set_locale('fr_FR');Sorry but I don't understand the new release and the documentation
| 866 Views | ||
|
Page:
1
|
Go to Top |

