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

Type: Discussion
Status: Archived
xb385
View Replies:
mkly replied on at Permalink Reply
mkly
Hello,
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
xb385 replied on at Permalink Reply
xb385
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!
mkly replied on at Permalink Reply
mkly
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
<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
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
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.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.