Update localization.py

This commit is contained in:
Johannes
2023-04-25 17:59:32 +02:00
committed by GitHub
parent 7980af2d7b
commit 0f31026506

View File

@@ -30,7 +30,7 @@ def lookup(path_frontend_file, path_backend_file, lookupstr):
res = res[k]
if type(res) is not str:
#res = "error_tnf"
res = lookupstr
res = lookupstr.split(".")["-1"]
return res
def get_translation(locale, lookupstr):