Skip to content

Commit

Permalink
Update translation script
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Feb 4, 2023
1 parent 918dd60 commit 8081553
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@
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)

0 comments on commit 8081553

Please sign in to comment.