Hi everyone,
I'm dissatisfied with certain
Danish translations of the internal sphinx messages, so I am trying to
overwrite a few select ones locally, but it is not working. My locally
changed translations are not used.
I'd appreciate it if
someone would take a look at my minimal working example and tell me if
I'm doing something wrong.
My minimal working example is here:
https://yapb.in/ramN.zip : it is just the
output of `sphinx-quickstart`, an added `.. code-block::`, added file
locale/da/LC_MESSAGES/sphinx.po and modified conf.py.
To build it (have sphinx 1.8 or 2.0 installed):
unzip test-locale.zip
cd test-locale
make html
conf.py contains the following:
language = 'da'
locale_dirs = ['locale/']
gettext_auto_build = True
gettext_compact = False
If
I build the html (make html) an .mo file
"locale/da/LC_MESSAGES/sphinx.mo" is created (because of the
gettext_auto_build option), so I figure I'm doing something right.
Anyway, the html output does not use the translations. "Listing x.y" is
still translated as "Viser x.y" not "ShowYourSelf x.y" etc.
Any help would be appreciated.
/ Jonas