I'm trying to render a document from MarkDown to PDF using pandoc:
pandoc my-document.md \ --csl=citation-style.xml \ --standalone \ --smart \ -V documentclass=report \ -f markdown+footnotes+backtick_code_blocks+inline_notes+raw_html \ --toc \ --bibliography references.json \ -V lang=pl-PL \ -o my-document.pdf
The key here is the
lang=pl-PL part: the document is written in Polish and targeted towards Polish audience.
The output contains proper Polish equivalents for "Table of Contents" and "Chapter" headers, but unfortunately the language used for bibliography is English.
How do I configure pandoc to apply Polish locale to bibliography as well?