Hi,

Does this page help you?
https://docs.readthedocs.io/en/latest/localization.html

In sphinx docs, we use this settings to show our docs in multiple languages.

Thanks,
Takeshi KOMIYA

2019年1月14日(月) 11:25 Philippe Kappel <[email protected]>:
>
> I would like to show the language choice flyout of Read the Docs:
>
> sphinx-quickstart
>
> Added these lines in conf.py :
> html_theme = 'sphinx_rtd_theme'
> locale_dirs = ['locale/']
> gettext_compact = False
>
> make gettext
> _build/gettext/index.pot is created.
>
> sphinx-intl update -p _build/gettext -l fr
> locale/fr/LC_MESSAGES/index.po is created, I translate.
>
> sphinx-intl build -d locale -l fr
> locale/fr/LC_MESSAGES/index.mo is created.
>
> sphinx-build -b html -D language=fr . _build/html/fr
> _build/html/fr/index.html is created with my translated index.po but does not 
> contain the language choice flyout.
>
> sphinx-build -b html . _build/html
> _build/html/index.html is created in the original language (english) but does 
> not contain the language choice flyout.
>
> How do I bring up the language choice flyout? Did I forget something?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to