Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 2.61 KB

README.md

File metadata and controls

68 lines (51 loc) · 2.61 KB

logo

Django Multi-Language with Google Translator

a module could let you auto create django.po file


Github Latest Commit Issues License




💎 Usage:

$ python ./scripts/google_translator.py [dir-name-in-locale] ['--same']

If you wanna translate the ".po" file in "./locale/zh_Hans", just run:

$ python scripts/google_trans.py zh_Hans

The translated file will be created in the path of locale. If you put "same" word after command, target file will be override.

📄 Other commands:

parameter description
--all, -a translate all language in locale folder
--delete, -d delete backup django.po



JackaL at  2020.07


Copyright © 2020