Skip to content

oTree-org/otree-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otree.readthedocs.io

  1. Fork & download this repo
  2. Go to locales/ and edit the .po files using poedit or simply using a text editor
  3. pip install -r requirements.txt
  4. If translating to Japanese: sphinx-build -b html -D language=ja source build/html/ja
  5. If translating to Chinese: sphinx-build -b html -D language=zh_CN source build/html/zh_CN
  6. If translating to Spanish: sphinx-build -b html -D language=es source build/html/es
  7. Open the HTML files in your browser and check that they look OK
  8. git commit
  9. 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 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 9