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.

Form Questions

Validation text language and i18n


Reply

4 Posts   2023 Views

Avatar
baba-papa

4 October 2009 at 10:32pm Community Member, 279 Posts

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?

Avatar
Martijn

5 October 2009 at 2:05am (Last edited: 5 October 2009 2:05am), Community Member, 271 Posts

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/

Avatar
baba-papa

5 October 2009 at 3:36am Community Member, 279 Posts

I use 2.3.3 too.

Avatar
baba-papa

5 October 2009 at 7:40am Community Member, 279 Posts

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.