Excuse me but I'm crazing .....
I tried as you said it does not work ....
I can not translate the words "start" and "end" and the short names of the months ....
Which files are written these words? I can not understand
Please if you can help me
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
Excuse me but I'm crazing .....
I tried as you said it does not work ....
I can not translate the words "start" and "end" and the short names of the months ....
Which files are written these words? I can not understand
Please if you can help me
Make sure you're on the latest revision (83). There was a bug in the CalendarFilterFieldSet that was causing "start" and "end" to not get translated.
The month names are generated using the strftime() function in PHP. What does strftime('%b'); return for you? That function should respect your PHP locale settings.
I checked: the version is 83 ....
and the strftime('%b'); returns "Oct" .....
then is the problem.... can you tell me how to solve??
Thank you
You need to set your locale manually. I suspect your server is not located in Italy, perhaps. For some reason the default locale is English for you. More info on setting your locale:
Maybe this is of interest:
Month names in CalendarEvent r83 were translated into german, after including i18n::set_locale("de_DE");
setlocale(LC_TIME,"de_DE"); except for month March abbreviation. It showed famous M?R instead of MÄR. after adding .UTF-8 to setlocale(LC_TIME,"de_DE.UTF-8");, it shows up correctly. Server located in Germany....