I am writing a book in Spanish, and I would like to have the title of the table of contents in Spanish. I have seen there is a translation in the pandoc repo; however, I can't find the way to actually use it. I'm using this for generating the content:
pandoc --template=/home/jmerelo/Libros/curso-git/utils/plantilla-kdp.latex \ -V mainfont=DroidSans \ -V lang=es-ES\ -V documentclass=book\ -S --latex-engine=xelatex \ -o aprendegit-kdp.pdf \ ...
I have also used
lang=es, to no avail.