Issue #1030 open

# Page reference names not localized when using latex_show_pagerefs

Anonymous created an issue

The page references in the resulting .pdf files are not localized.

Even with using \usepackage[ngerman]{babel} included properly, the references generated via latex_show_pagerefs show up as 'page 1' etc. instead of 'Seite 1'.

The hyperref manual specifies in section 4 how to fix that, by adding proper names to the preamble. For Sphinx this can by setting

latex_elements['preamble'] = """ \addto\extrasngerman{% \def\pageautorefname{Seite}% } """

This should be done automatically for the 'supported' sphinx languages if possible.