Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar - month not translated

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1263 Views
  • joninjas
    Avatar
    Community Member
    32 Posts

    Event Calendar - month not translated Link to this post

    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
  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar - month not translated Link to this post

    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();

  • joninjas
    Avatar
    Community Member
    32 Posts

    Re: Event Calendar - month not translated Link to this post

    thanks a lot! You hit the nail on the head.

    Jonas

    1263 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.