Project

General

Profile

Actions

Bug #8406

closed

setLanguage does not load language overrides

Added by krileon over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04 March 2021
Due date:
% Done:

100%

Estimated time:

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.

Actions #1

Updated by krileon over 3 years ago

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.

Actions #2

Updated by krileon over 3 years ago

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.

Actions #3

Updated by krileon over 3 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !1634

Actions #4

Updated by beat over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF