Jump to:

7938 Posts in 1541 Topics by 945 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Language problem after installing DataObjectManager

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 446 Views
  • patsar
    Avatar
    Community Member
    2 Posts

    Language problem after installing DataObjectManager Link to this post

    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

  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    Re: Language problem after installing DataObjectManager Link to this post

    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?

    446 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.