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.

General Questions /

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

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

switching locale LC_ALL for multilingual Date-Format


Reply


1071 Views

Avatar
Lukin

Community Member, 42 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