It is possible to have a PDF template for each interface language available for the portal, for example one PDF template in French (fr-FR), and another in English (en-US).
To do so, upload as many PDF templates as there are UI locales as in the following examples:
template.$LANGUAGE_ISO_CODE.vm
template.fr-FR.vm
template.en-US.vm
- It is possible to use the Paged.js JavaScript library in PDF templates.
- If the locale of the portal does not have a corresponding PDF template, it reverts to using the default one:
pdf-template.vm
It is strongly recommended to still use a default template when adding custom PDF templates to always have a fallback solution.