Strange problem - date is always displayed in English

Strange problem - date is always displayed in English

autor Georgi Yadkov -
Počet odpovedí: 6

MOODLE version: Moodle 2.2.2 (Build: 20120312)

I have installed Bulgarian language pack from the site preferences. When I switch to it everything seems OK except that all the dates (forum, assignments, etc) are in English. Everything else is translated. When I installed Russian or German it is the same - all the strings are translated except the date which is displayed in English.

I turned on language debugging. I find the corresponding date string in moodledata/lang/bg/langconfig.php and added additional characters to test weather the file is used or not. After refreshing the page the characters were visible but the date was still in English.

Any ideas how can I solve this problem?

Priemer hodnotení : -
V odpovedi na Georgi Yadkov

Re: Strange problem - date is always displayed in English

autor Helen Foster -
Obrázok: Core developers Obrázok: Documentation writers Obrázok: Moodle HQ Obrázok: Particularly helpful Moodlers Obrázok: Plugin developers Obrázok: Testers Obrázok: Translators

Hi Georgi,

Hopefully 'Why are month names not being displayed in the correct language?' in Calendar FAQ can help solve your problem.

V odpovedi na Helen Foster

Re: Strange problem - date is always displayed in English

autor Georgi Yadkov -

Thanks Helen, everything is OK.

I would like to propose improvements in default Bulgarian language pack for the date and time format. Some of the strings must be edited in order to match the official.

Where and to whom should I address my proposition?

V odpovedi na Georgi Yadkov

Re: Strange problem - date is always displayed in English

autor Angelin Lalev -

The problem with the names and the dates is related to the fact that moodle pulls them from the operating system. It will disappear if You change locale of the whole system to bg_BG.

The language pack is usually edited via AMOS (See lang.moodle.org). If Your propositions are reasonable, I'd be very glad to merge them in the official translations.

I am one of the two translation coordinators for Bulgarian language. You can reach me directly at lalev@uni-svishtov.bg (Angelin Lalev).

Wellcome aboard!

V odpovedi na Helen Foster

Re: Strange problem - date is always displayed in English

autor Luís Rocha Graça -

Hi there Helen,

I have also the same problem as Georgi, but still didn't figure out how to solve it. I have Moodle set to Portuguese, and tried to change the locale string in the langconfig.php on moodle>lang>eng folder to the portuguese package pt_PT.UTF-8.

Still have no results in the calendar, as it still shows the month in english. Am I doing something wrong?

Many thanks in advance

Luis

V odpovedi na Luís Rocha Graça

Re: Strange problem - date is always displayed in English

autor André Yamin -

Hi Luís,

It seems that you don't have the pt_BR locale instaled.

Try run sudo locale-gen pt_BR.UTF-8

Regards,

André Yamin.