I use the Sphinx Python documentation generator. Creating PDF documents is very easy and simple, but I have one problem.
All generated PDF documents have English words like "chapter", "release", and "part".
How can I override these English labels in another language, or remove them completely?
In your conf.py
, there is the following paragraph (around line 57 in a conf.py
created by sphinx-quickstart
):
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None
In my case, I changed it to:
language = nl # bug!
Which of course should be:
language = 'nl' # don't forget the quotes :-)
This will work for all Sphinx output; in my case, I only checked the html and latex output. On the Spinx website, there is list of supported languages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With