If you know Japanese, please help contribute a translation!
- (Optional) Send an email to [email protected] just to let me know you will be doing some translation. Maybe I can give you some advice in addition to what is written here.
- Fork & download this repo
- Go to
locales/
and edit the .po files using poedit or simply using a text editor pip install -r requirements.txt
- If translating to Japanese:
sphinx-build -b html -D language=ja source build/html/ja
- If translating to Chinese:
sphinx-build -b html -D language=zh_CN source build/html/zh_CN
- Open the HTML files in your browser and check that they look OK
git commit
- Make a pull request on GitHub.
Then, your changes will be visible at:
https://otree.readthedocs.io/ja/latest/index.html
To generate new .po files after an update to the English version, run:
sphinx-build -b gettext source build/gettext
sphinx-intl update -p build/gettext -l zh_CN -l ja