Jump to:

23379 Posts in 18298 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » switching locale LC_ALL for multilingual Date-Format

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

Page: 1
Go to End
Author Topic: 1009 Views
  • Lukin
    Avatar
    Community Member
    42 Posts

    switching locale LC_ALL for multilingual Date-Format Link to this post

    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

    1009 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.