|
[
Permalink
| « Hide
]
Martin Dougiamas added a comment - 08/Oct/07 01:14 PM
This uses locales on your operating system ... what is your setup?
Hi Martin,
I still have no idea what "locales on your operating system" means. The wrong month calendar display is an old bug (see this post: http://moodle.org/mod/forum/discuss.php?d=31320#p149970 In that same thread I asked what exactly is meant by "locale on your system" and my question has remained un-answered in more than 2 years... Please, please, can you tell me once for all where exactly I should look for that infamous LOCALE setting. Is it somewhere in the Moodle files? In the Apache files? And anyway I am surprised that the correct display of the MONTH name should depend on that parameter, when all other things are displayed according to the selected language. Just one more thing, I find the explanation for the locale setting in Admin->language settings rather confusing: I hope we can find a final answer to this language problem which has been plaguing us for so long... Joseph I'd like to add some information. This is for a Moodle 1.9.2+ (Build: 20080917) running on a debian (virtual) server.
Only english month names were being displayed, regardless of language selected by user (Spanish, English, French, German, or Italian). On the server, "locale -a" showed: I did a "dpkg-reconfigure locales" and added the following locales: After restarting apache and disabling then re-enabling language text caching in Moodle (not sure if either or both of these was necessary), the month in the calendar was displayed correctly; i.e. October is Oktober if the user has selected Deutsch, octobre if the user has selected Francais, etc. So it seems that the "default" country locale for a given language needs to be installed. Or the locale that matches the language pack that the user is currently using? Brian Note that it is not clear for most of the Moodle language packs what locale needs to be installed on the server. Most of them are just the two letter language code (e.g. "de" for German). How would we know from that that we need to install the de_DE.utf8 locale?
For information : for Swiss French
Moodle 1.9.3+ Debian Etch /etc/locale.gen = fr_CH.UTF-8 UTF-8 > locale -a fr_CH.utf8 > dpkg-reconfigure locales -> add language pack fr_FR.utf8 > locale -a fr_CH.utf8 restart Apache and it's display date in french |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||