Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When internationalization is enabled, additional logic is executed that filters content triples and selects fallback content in the case that there is are no triple available for the preferred language/locale.

For example, if the site language is set to Canadian French ('fr_CA'), the search algorithm for returning triples for a specific label is as follows:

  • Return label triples with language tag that matches the language ('fr') and locale ('CA'), if not found
  • Return label triples with language tag that matches just the language ('fr'), if not found
  • Return label triples with language tag that matches the language, but with a different locale (e.g. 'fr_FR'), if not found
  • Return label triples with any or no language tag

Note, the above filtering does impose a performance impact:

Jira
serverLYRASIS JIRA
serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5
keyVIVO-1931