Please add support to translate bookmarks
Brought to you by:
vrdev
Hi. Nice tool pal! It would be nice to have the possibility to connect to Google translator (or similar) and have the bookmarks translated from the source idiom (the user can choose it, even if Google can suggest it) to the target one.
Thanks
Anonymous
Здравствуйте,
Мне эта функциональность кажется излишней.
Спасибо, что пользуетесь программой.
Hi, and thanks for your answer. I regularly use a translator for PDF in different languages. Using your tool I can replícate the bookmarks from the original to the translation, but I can't translate the bookmarks, since no translator accept the exported XML. It's a minor feature, sure, but could be useful IMHO.
Thanks
Please accept the Spanish translation, if you want to include it in the next release. A little contribution for your great work.
Regards
Last thing: if I'm not mistaken, I believe that the placeholder S_BookmarksImportedWithWarnings has a mismatch, since the program searches for S_ImportedWithWarnings.
Regards
You can translate bookmarks from the command line with transalte-shell
https://ubunlog.com/en/translate-shell-translate-terminal/
Example for Linux or Windows WSL:
// Install required packages
sudo apt-get install mono-complete
sudo apt-get install djvulibre-bin
sudo apt-get install translate-shell
// Export bookmarks to a text file
mono ./OutlineTool.exe -source:document.pdf -target:toc.txt
// Translate toc.txt to German language and save result to translated.txt
trans :de file://toc.txt > translated.txt
// Write translated bookmarks from translated.txt to document.pdf
mono ./OutlineTool.exe -source:translated.txt -target:document.pdf
Last edit: vrdev 2022-07-28
Thanks for the Spanish translation, I will add it in the next release
I have added your translation file to version 1.1.6.4.
Thank you for participating in the project.