This should help https://github.com/rtfd/sphinx_rtd_theme/pull/405
On Wed, Apr 18, 2018 at 1:39 AM, Leonardo Caballero < leonardocaball...@gmail.com> wrote: > Hi Guys > > How enable i18n support for a Sphinx theme custom, for example > sphinx_rtd_theme package? > > https://github.com/macagua/sphinx_rtd_theme > > This package is "basic" theme based build it inside Sphinx package. > > If I understand: > > - Babel package is used for managment gettext format files. > - Jinja2 package is used for the HTML templates and with his i18n > extension called "jinja2.ext.i18n" is needed for load the locales files > created by Babel package. > > Then exists any helper classes for to instances in my sphinx_rtd_theme > package and loading my locales files translated. > > A example simple for how using the Babel and Jinja2 packages into Python > programs are available, check out the following repository: > > https://github.com/macagua/python_i18n_babel_jinja2 > > Then any idea how extends the locale files loader mechanise for > sphinx_rtd_theme package? > > -- > Atentamente > > Ing. Leonardo J. Caballero G. > Linux Counter ID = https://linuxcounter.net/user/369081.html > > -- > 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 sphinx-users+unsubscr...@googlegroups.com. > To post to this group, send email to sphinx-users@googlegroups.com. > Visit this group at https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. > -- Aaron Carlisle -- 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 sphinx-users+unsubscr...@googlegroups.com. To post to this group, send email to sphinx-users@googlegroups.com. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.