It is possible to have a different PDF template for each interface language, for example a PDF template with the logo and tagline of your company in French (fr-FR
) and another in English (en-US
).
In the Print templates administration interface, upload one template for each interface language, as shown in the following example:
template.$LANGUAGE_ISO_CODE.vm
template.fr-FR.vm
template.en-US.vm
If no corresponding interface language is available, the language of the PDF template reverts to the default one: pdf-template.vm
.
In order to always have a fallback solution, it is recommended to use a template named header.vm
when adding custom headers.