loc_code - On Premises 6.4

Author-it Knowledge Center

Description

Used by Magellan framework to match with browser regional setting. This enables presentation in the end user's own language. In case 5-character code can't be matched with browser returned code, the first 2 characters will be used for matching. In case of no match, the first default in the defaults list will be used to present content to the end user

Requirements

  • locale_code is mandatory
  • must contain 1 -ISO based- locale code
  • containing 2 or 5 characters in total. Example values:
    • en-us
    • en
    • ja
    • fr
    • fr-ch

Relationship

  • If matched: browser language detected locale code.

Examples

  • "loc_code": "",
  • "loc_code": "en-us",
  • "loc_code": "ja",
  • "loc_code": "fr-ch",