new: add chinese lang
This commit is contained in:
6
.github/sync_translate.sh
vendored
6
.github/sync_translate.sh
vendored
@@ -1,7 +1,7 @@
|
||||
key="FRu3eopQWgsvWmnycBXxv2eWpbUwGOu2"
|
||||
wget -O ../assets/translations/strings.i18n.json "https://localise.biz/api/export/locale/en-US.json?index=id&format=i18next4&key=$key"
|
||||
wget -O ../assets/translations/strings_fa.i18n.json "https://localise.biz/api/export/locale/fa.json?index=id&format=i18next4&key=$key"
|
||||
# # wget -O assets/translations/strings_zh.i18n.json "https://localise.biz/api/export/locale/zh.json?index=id&format=i18next4&key=$key"
|
||||
wget -O assets/translations/strings_zh.i18n.json "https://localise.biz/api/export/locale/zh.json?index=id&format=i18next4&key=$key"
|
||||
# # wget -O assets/translations/strings_pt.i18n.json "https://localise.biz/api/export/locale/pt.json?index=id&format=i18next4&key=$key"
|
||||
wget -O ../assets/translations/strings_ru.i18n.json "https://localise.biz/api/export/locale/ru.json?index=id&format=i18next4&key=$key"
|
||||
|
||||
@@ -10,7 +10,7 @@ pip install polib deep-translator python-i18n
|
||||
|
||||
# python3 auto_translator.py fa en
|
||||
python3 auto_translator.py en fa
|
||||
# python3 auto_translator.py en zh
|
||||
python3 auto_translator.py en zh
|
||||
# python3 auto_translator.py en pt
|
||||
python3 auto_translator.py en ru
|
||||
|
||||
@@ -31,6 +31,6 @@ curl "https://localise.biz/api/import/json?format=i18next4&delete-absent=true&ig
|
||||
|
||||
update_localise en
|
||||
update_localise fa
|
||||
# # # update_localise zh
|
||||
update_localise zh
|
||||
# # # update_localise pt
|
||||
update_localise ru
|
||||
Reference in New Issue
Block a user