I try the following MWE (with LuaLatex 1.12.0 and hyperref v7.00d) and have two problems/questions:
\documentclass[a4paper,11pt]{article}
\usepackage[ngerman]{babel}
\usepackage[unicode]{hyperref}
\hypersetup{
pdfauthor={ABC – https...},
pdftitle={title with German öäüß},
pdflang={de}
}
\usepackage{kantlipsum}
\begin{document}
\kant[1]
\end{document}
- In my PDF Viewers the language option is not displayed. I'm not sure if this is due to my PDFViewer or if this is not compiled into the PDF.
- According to the documentation the
pdflang
should be RFC 3066. But looking for a list I didn't find one. When I follow the link from W3 I end up with ISO 639-2 codes. Are they now same or different?
de
should be ok, orde-DE
.de
orde-DE
? Ordeu
,DEU
,ger
,de-DE-1996
or something else ? I found i18nguy.com/unicode/language-identifiers.html and iso.org/obp/ui/#search and loc.gov/standards/iso639-2/php/code_list.php and de.wikipedia.org/wiki/ISO-3166-1-Kodierliste ; altogether they confuse me.