Jump to:

1969 Posts in 1272 Topics by 606 members

Form Questions

SilverStripe Forums » Form Questions » Validation text language and i18n

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

Page: 1
Go to End
Author Topic: 1950 Views
  • baba-papa
    Avatar
    Community Member
    279 Posts

    Validation text language and i18n Link to this post

    Hello,

    I have a small form with one required field. Even though I have set my system language to german

    i18n::enable();
    i18n::set_locale('de_DE');
    i18n::set_default_lang('de');


    the message is always in english. is there a bug with the JS i18n?

  • Martijn
    Avatar
    Community Member
    271 Posts

    Re: Validation text language and i18n Link to this post

    Which version do you use?

    I tried locally changing the lang in SS 2.3.3 to nl and de and the js validation messages are translated correctly from the files in sapphire/javascript/lang/

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: Validation text language and i18n Link to this post

    I use 2.3.3 too.

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: Validation text language and i18n Link to this post

    I think I know where the error is. I set the default language to german after I created my pages. I will change that tomorrow and then we´ll see.

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