This commit is contained in:
joBr99
2022-06-22 23:38:26 +02:00
18 changed files with 150 additions and 132 deletions

View File

@@ -57,6 +57,8 @@ def lookup(path_frontend_file, path_backend_file, lookupstr):
def get_translation(locale, lookupstr):
path_frontend_file, path_backend_file = build_locale_filestring(locale)
res = lookup(path_frontend_file, path_backend_file, lookupstr)
if locale == "he_IL":
res = res[::-1]
return res
out = defaultdict(lambda: defaultdict(lambda: defaultdict(dict)))