NEW V1.11 The ticket template editor now allows defining which language to print for multilingual variables.

In the context of an international event, it may be useful to be able to print dynamic information on the ticket in different languages, e.g., English for visitors and the local language for the staff.

Solution

Once the feature is activated, in the ticket template editor, it is possible to explicitly define the language to be printed for a multilingual dynamic field. It is thus possible to print on the same ticket the translation for the external name of some entity, e.g., entrance, in two or more different languages.

Getting started

In the ticket template editor, use the custom value field to explicitly defined the language by attaching the "lang" parameter with a language code, e.g., "lang=en". If there is not matching language for that variable or if the translation is missing, the system will fallback to the main language of the institution.

{fieldName;lang=en}

It is also possible to enter the value "xx", which will then use the main language of the institution regardless of the actual language it is.

If not language is defined, the system will fallback to the current behavior according to the institution configuration, i.e., either using the main institution language or the preferred language of the contact.


Activation through a service

The feature is not active by default. Activation should be requested through a service and is done by setting the "Allow Multilingual Ticket Template" institution parameter to true.