To create localized versions of your cartridge templates, follow these steps:
Create resource property files to store localized strings for each locale. Each resource property file name must follow this format:
Resources_<locale>.properties
where
<locale>
is the ISO language code. For exampleResources_fr.properties
indicates that French values are stored in it. Place these files in a locales folder for your custom template:<app dir>\config\cartridge_templates\<template_identifier>\locales
Specify values that do not change for locale (thumbnail URLs for example) in the single
Resources.properties
file or directly in thetemplate.xml
file.In the template itself, use
${property.name}
notation in element content and attributes to reference a localized string in theResources_<locale>.properties
. Only content in the Description, ThumbnailURL, and EditorPanel sections can reference localized strings in the resources properties files. For more information about creating language-specific cartridge templates, refer to the Assembler Application Developer's Guide.