diff options
Diffstat (limited to 'tools/translate.py')
-rwxr-xr-x | tools/translate.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/translate.py b/tools/translate.py index b6f25beb..e1212b7c 100755 --- a/tools/translate.py +++ b/tools/translate.py @@ -26,5 +26,7 @@ for language in languages: print(language.code) url = transifex_api.ResourceTranslationsAsyncDownload.download(resource=resource, language=language) result = requests.get(url) + with open('../web/l10n/' + language.code + '.json', "w") as file: + file.write(result.text) with open('../modern/src/resources/l10n/' + language.code + '.json', "w") as file: file.write(result.text) |