The documentation on internationalization <http://sphinx-doc.org/intl.html> hints to this: Use -Dlanguage=xx for your build to translate to a different language.
Cheers, Robert On Thursday, November 26, 2015 at 4:40:43 PM UTC+1, Paolo Cavallini wrote: > > Hi all, > I'm trying to use the default translation system (I configured one by > hand long ago). So I tried to follow > http://sphinx-doc.org/config.html#options-for-internationalization > In particular: > * added to conf.py: > * language = 'it' > * locale_dirs = ['locale'] > * gettext_additional_targets = 'image' > * moved my .po (fr, en) and LC_MESSAGES/*.mo to ./locale/ > * ran make gettext (it creates _build/locale/*pot) > > but only the default lang is compiled. > I'm missing something: how do I choose which lang to compile in html? > All the best, and thanks in advance. > -- > Paolo Cavallini - www.faunalia.eu > QGIS & PostGIS courses: http://www.faunalia.eu/training.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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
