Can I change the name of the exported "Table of Contents" to my language?
Runtime Environment
- Org mode version 9.2.3
- GNU Emacs 27.0.50
- MX Linux 18
- Installed via Melpa
- ox-epub 20181101.1854
- dotfiles
- ~/.emacs.d
Issue
I use an en-us locale on my system, but I was able to export to PDF in Portuguese using these options:
#+LANGUAGE: pt
#+LATEX_HEADER: \usepackage[AUTO]{babel}
But when I export to EPUB, the resulting TOC is written in English as "Table of Contents". Is it possible to customize this to my language or to some arbitrary string of my choice? Thanks!
That's a valid request. I'll check whether the code can be made to so it.
That's a valid request. I'll check whether the code can be made to so it.
Thank you very much! I'm editing the epub manually for now.
Hello @mrbig033 , In theory this should work out of the box, when you set the language like you described. Can you have a look at the solutions in the second answer to this question on stackoverflow?
https://emacs.stackexchange.com/questions/21239/change-table-of-contents-title-in-org-mode-according-to-document-language
Regards, Mark