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?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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');
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/
I use 2.3.3 too.
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.