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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

Language problem after installing DataObjectManager


Go to End


2 Posts   1173 Views

Avatar
patsar

Community Member, 2 Posts

20 April 2012 at 12:39pm

First of all, I am really new to Silverstripe. That being said... I set my site in French using i18n::set_locale('fr_FR'); in /mysite/_config.php and everything was fine. Then I installed the Event Calendar and DataObjectManager and now some parts of the site (CMS Login form) and the CMS itself reverted to english even when the option is set on French. I wasn't able to get it back to French. I searched the forums but cannot find anything about this... I am looking here for advice. Thanks

the site, in case that could help: www.lafourmiliere.ca

Avatar
wilsonStaff

Community Member, 143 Posts

28 April 2012 at 2:15pm

Edited: 28/04/2012 2:22pm

Hi Patsar, i may help you. Based on your website URL, your in Canada. I am in Montreal.

Event calendar uses

setlocale(LC_TIME, 'fr_FR.UTF8', 'fr_FR', 'fr-FR', 'french');

and not

i18n::set_locale('fr_FR');

But i see your Calendar is in French thought.

Qu'avez-vous fait?