Question

I am writing documentation in language other than English (actually Slovak). I do not want the words like Content, Note, Caution to appear in my Slovak documentation, instead of that, I want to have Obsah, Poznámka, Pozor.

After some time googling, I was unable to find a way to do it. Could you give me an advice please?

Was it helpful?

Solution

In you conf.py you can set the language in this section:

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
language = 'nl'

The list of supported languages, however, does not show support for Slovak yet. But there are good instructions to create your own internationalization files so that you can ad Slovak to the list.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top