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.

All other Modules

Discuss all other Modules here.

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

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


Reply

197 Views

Avatar
iraira88

16 December 2013 at 6:24am Community Member, 17 Posts

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!