Locale Settings

The Locale dialog box sets the locale used inside the template. The Locale can affect time, currency output, and other formatting that depends on location and language (see Locale). The default Locale for new templates can be set via the Preferences (Language Setting Preferences).

  • Use: Use the drop-down to select how the Locale is set for the current template.
    • System Locale: Select this to use the operating system's locale settings. This is set in the Region settings of the control panel.
    • Explicit Locale: Select this option to specify a static locale which will remain static for this template, whichever server the template is used on.
    • Data Field: Select this to use a data field from the record. The locale will be record-specific in this case.
  • Locale: Use the drop-down to select a specific locale. Only enabled when Explicit Locale is selected above.
  • Data Field: Use the drop-down to select a field within the current data model that contains the locale. This field must be a string and contain the exact locale to be used, such as "en" or "fr-CA". It cannot be an alias such as "english" or "french". The locale supports both ISO-639-1 alone ("en", "fr", etc) or ISO-639-1 followed by a 2-letter country code ("de-DE", "zh-CN", "fr-CA", "fr-FR", etc).