Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1, 3.2, 3.3.2, 3.4, 3.5
-
MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-55153-master -
Description
"Purge all cache" should purge all cache, but it doesn't. Locally translated strings remain cached.
- Translate some lang strings locally, with or without
"Cache all language strings" activated
- Delete the translated string in the appropriate lang file or the entire file
- Purge all cache
*) When encountering this issue I had "Cache all language strings" on the pageadmin/settings.php?section=langsettings deactivated, but I am not sure whether the setting was activated when I began to translate the local strings.
See: https://moodle.org/mod/forum/discuss.php?d=335811
Additional info:
In an old Moodle installation I have several strings that are not present in the English nor in the Danish language pack. Nevertheless these strings occur on the page /admin/tool/customlang/edit.php?lng=da. These strings are no longer in use in Moodle (currently 3.4.1+).
Eg. report_security | check_passwordsaltmain_name.
Report_security.php have had no strings with an identifier containing 'passwordsalt' since Moodle 2.4. Neither the English nor the Danish report_security.php in my Moodle instance contains strings with 'passwordsalt', but they occur on the page admin/tool/customlang/edit.php?lng=da. And I can not get rid of them. I can purge all cache, delete the folders /moodledata/cache and /moodledata/localcache, delete my browser cache, and have Site administration → Language → Language settings → Cache all language strings deactivated all together, but the strings remain in Moodle!
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-45966 Customlang tool does not purge language cache after modifications have been made.
-
- Open
-