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.

All other Modules /

Discuss all other Modules here.

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

Silverstripe event calendar (MonthJumper): showing months in German don't work on live server


Go to End


1874 Views

Avatar
iraira88

Community Member, 19 Posts

16 December 2013 at 6:24am

I have a problem with the month names in MonthJumper in the Silverstripe Event Calendar. I want the months to display in German. I tried the following code in my _config.php:

 i18n :: set_locale ('en_US');
 setlocale (LC_ALL, 'de_DE @ euro', 'en_US.UTF-8', 'de_DE', 'de', 'ge', 'eng');
 setlocale (LC_TIME, "en_US.UTF-8");

This works perfectly in my local version of the website, but on the live server it does not do anything..the months are still displayed in English.
Is this a server problem? And what can I do to change this?

Thank you for your help!