This is a project to provide Sphinx official documentation, hosted on the Read The Docs platform, in multiple languages.
Instructions: https://docs.readthedocs.org/en/latest/localization.html#project-with-multiple-translations
Key points:
- There is a RTD project for each language.
- Each project needs the correct Language setting on the Settings page.
- The parent project needs connections created to each translated project on the Translations Settings page.
Add new language to
locales/update.sh
:- LANGS='es ja' + LANGS='es ja pt_BR'
Update po files:
sh ./locales/update.sh
Commit them
Add new project on Read The Docs. For example, for
pt_BR
:https://readthedocs.org/projects/sphinx-pt-br/
Note
If a RTD project name for a translation is already taken, create a unique project name instead. For example, when
sphinx-ru
was taken,sphinx-doc-ru
was used instead.
Add new translation project to parent project: