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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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


1389 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