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.

We've moved the forum!

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.

General Questions /

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

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

switching locale LC_ALL for multilingual Date-Format


Go to End


1446 Views

Avatar
Lukin

Community Member, 56 Posts

21 October 2010 at 2:59am

HI,

I' m trying to switch the setlocale between
(LC_ALL, 'de_DE@euro', 'de_DE.UTF-8', 'de_DE', 'de-DE', 'de');
and
(LC_ALL, 'en_GB@euro', 'en_GB.UTF-8', 'en_GB', 'en-GB', 'en');

to display Mai instead of May...

Switching the LAnguage give the html the right locale, but i18n doesn't change an so,
I always get english or german translation but can't switch

any advice?
thanks in advance