Localisation
Context and Localisation is a big topic in any publishing project. Our accelerating packs support localisation based on Context Criteria. Please check the Context Definition to understand how values from the publication will move to the document and will be evaluated inside the placeholder to retrieve the correct content values.
Metadata set at the publication level will become available in the document during the buildup of tempaltes after the document is checked out by the priint:comet plugins.
_language: Example values in your metadata: deu for German, eng for English_country: Example values in your metadata: DE for Germany, GB for the United Kingdom
The priint:suite publishing server manages context using two ISO standards. Languages follow ISO 639-3 Alpha-3 format ( e.g. deu for German, eng for English). Countries follow ISO 3166-1 Alpha-2 format (e.g. DE for Germany, GB for the United Kingdom).
By default, other context criteria like well and assortment are not supported except where otherwise specified.
Having documents with multiple languages for example 2- or 3-language versions is not supported and require custom logic.
Further Reading
Check how this is used in our generic placeholders as an example usage.