Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » [SOLVED] Interface language set to PL, CMS uses EN

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

Page: 1 2
Go to End
Author Topic: 1125 Views
  • martimiz
    Avatar
    Forum Moderator
    1037 Posts

    Re: [SOLVED] Interface language set to PL, CMS uses EN Link to this post

    I don't see what config setting would cause this - so why not disable your custom config settings one by one, reload the cms, see what gives?

  • ShachMaT
    Avatar
    Community Member
    6 Posts

    Re: [SOLVED] Interface language set to PL, CMS uses EN Link to this post

    Okay tested few things.

    1. Locale in CMS is set to pl_PL, it's visible in templates
    2. even though it's set correctly _t() elements are not translated
    3. i will test translations by deleting modules

    After 3. i got to point where i know that either Event Calendar plugin or dataobject_manager cause configuration problem.

    now i have to find where exactly problem occurs.

  • martimiz
    Avatar
    Forum Moderator
    1037 Posts

    Re: [SOLVED] Interface language set to PL, CMS uses EN Link to this post

    I would now check if both modules have a Polish language file. If not, afaik they will not automatically use en_US.php, but instead use the default, at least for those two modules...

    If a polish file exists, check for php errors. try removing them, and see if that will make the rest translate...

  • ShachMaT
    Avatar
    Community Member
    6 Posts

    Re: [SOLVED] Interface language set to PL, CMS uses EN Link to this post

    I found the problem.

    While configuring Even Calendar i included pl_PL lang in _config.php that cause the problem.

    Now everything is back in place. HOORAH.

    Thank you for help. In the end it was my fault.

    1125 Views
Page: 1 2
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.