Locale Settings

The Locale dialog box sets the locale used inside the template's record. Locale can affect time, currency output, and other formatting that depends on location and language.

This setting is specific to each template, changing it for one template will not affect the other ones.

For example. Assuming a "Date" field containing the following date: 4/11/12, with this field being added to the template using the Text Script Generator with the "Long Date" format. If the locale is set to "en-US", the date appears on the page as April 11, 2012. Setting the locale to fr-CA makes this text appear as 11 avril 2012. Setting it to zh-CN will print 2012年4月11日.

Locale Options:

  • Use: Use the drop-down to select how the locale is set for the current record.
    • System Locale: Select to use the operating system's locale settings. This is set in the "Region" settings of the control panel.
    • Explicit Locale: Select to specify a static locale which will remain static for this template, whichever server the template is used on.
    • Data Field: Select 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).

Table of Contents

Index

Glossary

-Search-

Back