Jump to:

22976 Posts in 11702 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » CMS is using the wrong language ! SS 3.1 - Beta3

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 286 Views
  • DesignerX.com.au
    Avatar
    Community Member
    107 Posts

    CMS is using the wrong language ! SS 3.1 - Beta3 Link to this post

    Hi,
    The CMS is using the wrong language in SS 3.1 - Beta3. I have changed the language for all users (only 3 users) in the user settings, added i18n::set_locale('en_US'); in _config.php & checked the Member table & it has the correct "locale" setting ( set to en_US ) Then did dev/build & flush=all & the CMS still uses the wrong language (I think its africa ? )
    Any idea how to fix it or where in the code I can start digging to find a solution (which code in the CMS responsible for setting the interface language ? )

    I also found this old ticket : https://github.com/silverstripe/silverstripe-framework/issues/1901

    Thanks

  • DesignerX.com.au
    Avatar
    Community Member
    107 Posts

    Re: CMS is using the wrong language ! SS 3.1 - Beta3 Link to this post

    oK, i FOUND A "DIRTY" solution for this, I went to framework\lang\af.yml & removed that file. For some reason the CMs was stuck at using that "translation" file & once removed it will start responding to the language settings per user !

    286 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.