diff options
author | Anton Tananaev <anton@traccar.org> | 2023-02-04 13:44:41 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-02-04 13:44:41 -0800 |
commit | 80815532407d2f92a387ce0c40c87bb81aecad51 (patch) | |
tree | 065bb45093feb2044a94b99b7aa7cba45193ed50 | |
parent | 918dd60d63ff4d99b7853063f6b7734d6154e1a0 (diff) | |
download | trackermap-web-80815532407d2f92a387ce0c40c87bb81aecad51.tar.gz trackermap-web-80815532407d2f92a387ce0c40c87bb81aecad51.tar.bz2 trackermap-web-80815532407d2f92a387ce0c40c87bb81aecad51.zip |
Update translation script
-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) |