Custom Translations

Custom translations can be added directly to ADX templates via the Jinja template engine. For this, a custom function translate_string is available.

How to use translate_string

Anywhere in your template where you would like to use the custom translate in the requested language you can just invoke the function.

<adx>
  <body>
    <text>
      {{translate_string('my_custom_translation_key')}}
    </text>
  </body>
</adx>

Last updated