Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.5
-
Fix Version/s: None
-
Component/s: Administration
-
Labels:None
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
The just released new auth_xxx.php language strings as well the reduced auth.php found in th English language pack break backward compatibility when a non-English language pack uses the same schema in 19.x or previous versions of Moodle.
While in Moodle 2.0 the new language strings schema works fine, in previous version of Moodle strings are still searched in auth.php, thus on non-English language all plugins strings default to English.
Workaround:
keep ORPHANED strings in auth.php
Attachments
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-19182 | split auth.php lang file into multiple files separate for each plugin and use standard get_string() support |
|
|
|
Yes, we need to keep orphaned strings in auth.php.
Also, we should automatically create the new auth_xxx.php lang files for all languages - that should be an easy script to write. Much more sensible that translators for 80 different languages doing it manually.
Assigning to Sam.