You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This page provides a brief overview of:

  • What is locale?
  • Which locale parameters are directly configurable in Magnolia.

What is locale?

Unable to render {include} The included page could not be found.

But the set of parameters for language is not the only part of the locale topic. Any operation that requires a locale to perform its task is locale-sensitive. For example, even displaying a number is a locale-sensitive operation: the number should be formatted according to the conventions of the user's native country, region, or culture.

Locale parameters

The following is a list of the most common locale parameters that one should be aware of when implementing a locale-sensitive operation:

  • Language
    • e.g. British English: en_UK vs American English: en_US
    • For configuration in Magnolia please see the Site and AdminCentral locales page for more information.
  • Timezone
    • For example, nine standard time zones in the USA.
    • For configuration in Magnolia please see the Time zone subpage for more information.
  • Date-time format
    • UK: 14 March 2016 vs US: March 14, 2016
  • Number format
    • English: 3.14 vs Czech: 3,14
  • Paper size
    • US, Canada and other countries: ANSI Letter vs ISO A4 in many other nations.
  • Currency format setting

See also

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels