Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for language specific PDF templates #438

Open
arjay54 opened this issue May 28, 2021 · 1 comment
Open

Add support for language specific PDF templates #438

arjay54 opened this issue May 28, 2021 · 1 comment

Comments

@arjay54
Copy link

arjay54 commented May 28, 2021

We are using DokuWiki and Bookcreator plugin for our documentation. We also have set up the Translation plugin with separate namespaces according to ISO language codes, i.e. :en :de :fr :es :pt

We want to include some language-specific information in the html Templates:

header.html – Header for all pages
header_odd.html – Header for odd pages
...
cover.html – If exists, added once before first page
back.html – If exists, added once after last page

Would it be possible to create an option that allows to include the namespace in the template? E.g.

header_de.html
header_odd_de.html
...

Looking forward if anyone has a solution.

@Juergen-aus-Zuendorf
Copy link
Contributor

Perhaps you can use the parameter &tpl={template for specific language}. The disadvantage, however, is that you have to copy everything into each template folder, which is language neutral.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants