This commit is contained in:
yumoqing 2020-12-02 07:41:09 +08:00
parent 16980c69a8
commit 525dfdfdd3

View File

@ -45,7 +45,6 @@ def i18nDICT(request):
i18n = getI18N() i18n = getI18N()
lang = getHeaderLang(request) lang = getHeaderLang(request)
l = c.langMapping.get(lang,lang) l = c.langMapping.get(lang,lang)
print('i18nDict():lang=',lang,',l=',l,',dict=',,i18n.getLangDict(l))
return json.dumps(i18n.getLangDict(l)).encode(c.website.coding) return json.dumps(i18n.getLangDict(l)).encode(c.website.coding)