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

Compare with Current View Page History

« Previous Version 7 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
  • Time zone
    • Nine standard time zones in the USA, for example.
    • See the Time zone subpage.
  • 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

See also

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