language
Permalink Browser Info Environment
Hi,
I would like to ask the following, how can i change the datestring to show the months etc to dutch (just the frontend)? this would mean that the following should change the months (January, February...), the words "Month", "Week" and "Day" on the calender and if possible the way to display the time in the actual calendar (not 7p but 19:00).
thank you
Kurt
I would like to ask the following, how can i change the datestring to show the months etc to dutch (just the frontend)? this would mean that the following should change the months (January, February...), the words "Month", "Week" and "Day" on the calender and if possible the way to display the time in the actual calendar (not 7p but 19:00).
thank you
Kurt
Type: | Discussion |
---|---|
Status: | Archived |
Hey,
Yes the site language is set to dutch but the datestring does not translate.
Only thing im trying to accomplish is that the months that are now written in english turn to dutch, thanks!
Yes the site language is set to dutch but the datestring does not translate.
Only thing im trying to accomplish is that the months that are now written in english turn to dutch, thanks!
Hello,
It appears that Calendar does not have t() strings wrapping the Months and Days.
You can go to /packages/calendar/calendar/view_month.php
You will see some entries like
Wrap those words in t() functions like this
Change those for all the months and the days in that file.
Best Wishes,
Mike
It appears that Calendar does not have t() strings wrapping the Months and Days.
You can go to /packages/calendar/calendar/view_month.php
You will see some entries like
<option value="1" <?php echo ($calMonth==1)?'selected':''?>>January</option>
Wrap those words in t() functions like this
<option value="1" <?php echo ($calMonth==1)?'selected':''?>>t('January')</option>
Change those for all the months and the days in that file.
Best Wishes,
Mike
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.
Have you set the site language to Dutch? If I am not mistaken the Datepicker on the Calendar, should follow the same Locale as the rest of the site.
It's possible that I might not understand what you are trying to accomplish here. If not, could you give me a bit more information?
Best Wishes,
Mike