-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.8.2, 2.8.5, 2.8.8, 2.9, 2.9.2, 3.1.2, 3.2, 3.7.3, 3.8, 3.11.10, 4.0.4, 4.1.3, 4.2, 4.5.1
-
MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_311_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_405_STABLE
-
wip-MDL-50364
I have developed a local plugin which contains a form.
In this form I have a date_selector element.
My problem is that days are translated (in french) but months are still in english.
After some research, I found that I have the same issue when I try to change the date of start of a course. The date picker of the course parameters page has days in french but months always in english.
Steps to reproduce (works e.g. on https://sandbox.moodledemo.net, too):
- Prerequisite: a language pack is installed, e.g. the french one
- Log in as admin
- change the user language to french (the site default language is still English)
- browse to a course page and click on "Edit settings" in the Administration block (opening the course's settings page)
- click on date picker icon next to "Course start date"
- you will see the month name in English instead of current language
- is duplicated by
-
MDL-52493 Months in calendar are hardcoded in english
-
- Closed
-