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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Language problem after installing DataObjectManager


Reply


2 Posts   540 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, 142 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?