Table of Contents

Translations

Key-based translations for templates

The Translations tool is our built-in tool for handling translations in designs. The general idea is that you use a specific method - '@Translate("key","default_value")' - in your templates to create translation keys inside a translations.xml file.

You can have one translations-file per design, as well as a shared file in the Designs-folder.

You can use the Translations-tool to create translations for each of your website languages as defined by the Regional settings-property. TranslationsInterface As you can see, you have a horizontal list of website-languages and a vertical list of translation keys. You can also add translation keys manually from this list by clicking New translation key. Click any existing translation key to bring up the edit interface for it: TranslationInterfaceEdit Provide a translation for all languages and then Save.

Tip

Shared translations are used if the same key is not present in the design-specific translations.xml file.

To top