[fix] language test for derivative languages
This commit is contained in:
parent
b1ab3c97b7
commit
ed63eb9719
1 changed files with 3 additions and 1 deletions
|
|
@ -205,7 +205,9 @@ def load_lang(lang, apps=None):
|
|||
|
||||
if '-' in lang:
|
||||
parent = lang.split('-')[0]
|
||||
out = load_lang(parent).update(out)
|
||||
parent_out = load_lang(parent)
|
||||
parent_out.update(out)
|
||||
out = parent_out
|
||||
|
||||
frappe.cache().hset("lang_full_dict", lang, out)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue