Bug #8406
closed
setLanguage does not load language overrides
Added by krileon over 3 years ago.
Updated over 3 years ago.
Description
When performing a language switch with setLanguage and the language isn't loaded into memory yet the import called in setLanguage doesn't load the overrides file.
It uses importedLangPathFiles against the main language to determine what files to load. If the main language, in our case default_language, doesn't have any overrides it won't look for that file when doing the language switch.
importedLangPathFiles should still populate, but with a value of false even if the language file doesn't exist. This way we know to at least look for it.
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF