Hi,

The "ngerman" came from docutils implementation.
How about updating it from conf.py like following?
```
import docutils.writers.latex2e
docutils.writers.latex2e.Babel.language_codes['de'] = 'german'
```

>And \literalblockcontinuesname is not set to a german string at all.
>I think at least the latter issue is a bug.

Simply it's not translated yet. It seems some messages are not
translated to German.
We're always welcome your contributions :-)
http://www.sphinx-doc.org/en/master/devguide.html#locale-updates

Thanks,
Takeshi KOMIYA

2018-02-27 20:44 GMT+09:00 Jan Ulrich Hasecke <juh+sphinx-us...@mailbox.org>:
> Hi all,
>
> I don't get german chapternames etc. when I compile my project.
>
> The problem seems to be that lualatex does not know the language ngerman.
>
> I edited the tex-file until I get the desired output.
>
> Here is the diff.
>
> 10c10
> < \documentclass[letterpaper,10pt,ngerman]{sphinxmanual}
> ---
>> \documentclass[letterpaper,10pt,german]{sphinxmanual}
> 21c21
> < \setmainlanguage{ngerman}
> ---
>> \setmainlanguage{german}
> 55,57c55,57
> < \addto\captionsngerman{\renewcommand{\figurename}{Abb.}}
> < \addto\captionsngerman{\renewcommand{\tablename}{Tab.}}
> < \addto\captionsngerman{\renewcommand{\literalblockname}{Quellcode}}
> ---
>> \addto\captionsgerman{\renewcommand{\figurename}{Abb.}}
>> \addto\captionsgerman{\renewcommand{\tablename}{Tab.}}
>> \addto\captionsgerman{\renewcommand{\literalblockname}{Quellcode}}
> 59,60c59,60
> <
> \addto\captionsngerman{\renewcommand{\literalblockcontinuedname}{Fortsetzung
> der vorherigen Seite}}
> <
> \addto\captionsngerman{\renewcommand{\literalblockcontinuesname}{continues
> on next page}}
> ---
>>
> \addto\captionsgerman{\renewcommand{\literalblockcontinuedname}{Fortsetzung
> der vorherigen Seite}}
>>
> \addto\captionsgerman{\renewcommand{\literalblockcontinuesname}{Fortsetzung
> auf der nächsten Seite}}
> 183c183
>
> As you can see I switched from "ngerman" to "german".
>
> And \literalblockcontinuesname is not set to a german string at all.
>
> I think at least the latter issue is a bug.
>
> Is there something special I have to set in conf.py to get the right output?
>
>
> juh
>
>
> --
> Das ZEN von Pandoc
> Bücher und E-Books einfach und professionell produzieren
> http://www.amazon.de/Das-ZEN-von-Pandoc-professionell/dp/1505218799/
> Paperback (232 Seiten) und E-Book
>
> --
> 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.

-- 
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.

Reply via email to