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

Event Calendar - month not translated


Go to End


3 Posts   1679 Views

Avatar
joninjas

Community Member, 32 Posts

31 October 2009 at 12:17am

Edited: 31/10/2009 12:18am

Hi all,

My Event Calendar is more or less translated to german.

The dateHeader box and the .dates on the left side of the details are still in english. Means: October instead of Oktober and 30. Oct. 2009 instead of 30. Okt 2009

How could I change them?

Thanks
Jonas

Attached Files
Avatar
UncleCheese

Forum Moderator, 4102 Posts

31 October 2009 at 1:50am

Are you sure you've set your PHP locale? The dates are generated by the strftime() function. If strftime('%B') returns "October", you need to set your locale in PHP using setlocale();

Avatar
joninjas

Community Member, 32 Posts

31 October 2009 at 4:11am

thanks a lot! You hit the nail on the head.
:-)

Jonas