Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.8
-
Fix Version/s: None
-
Component/s: Language
-
Labels:None
-
Affected Branches:MOODLE_18_STABLE
Description
If you edit a language packet (e.g. en_us) file that is not part of that language pack (e.g. countries.php), but then don't make any changes and thus don't save, an empty version of that file now exists in that language package, effectively breaking the package. In the case of the example (countries.php), users will no longer be able to register as the countries drop-down can no longer be populated.
Strange. Yes, in some cases, lang.php creates empty PHP files. But this should not break the lang pack as Moodle should use the value from parent language or the default English one respectively.
Are you getting any sort of error message? (please, turn debugging to ALL)