Skip to Content

Translation Templates

Overview

Vinyl allows developers to translate templates where required. When translations are enabled for a template, the developer can override the generic Template definition with a language-specific one.

Note

Any column data used with a Template e.g. {{some_column}} will be translated according to the table column Supports Translations setting.

Steps to Translate Template

The following steps assume that the supported languages have already been configured:

  1. Navigate to the App Workbench > Look & Feel > Templates for your collection.
  2. Click + Template.
  3. Assign a Name.
  4. Check to enable the Translations checkbox.
  5. Click Save

Note

The Template Parameters that show up in the Template Translations page are not per-language. They can only be edited on the Template page.

Steps to Translate Default Parameters

Default parameters may also need to be translated. Here are the steps:

  1. Navigate to the App Workbench > Look & Feel > Templates for your collection.
  2. Locate the Template and click the Open Record icon.
  3. Check to enable Translate Default for all appropriate Parameters.
  4. Navigate to IDE > Language Translations.
  5. Click Process.

    • Double click the bundle associated with your template/app.
    • Click Keys.
    • Add your Default Parameter.
  6. Return to the previous page (Process Translations).

    • Click Process to retrieve translations for the newly added key.