SJRK-8: Message loader doesn't fallback properly

Metadata

Source
SJRK-8
Type
Bug
Priority
Minor
Status
Closed
Resolution
Not A Bug
Assignee
Gregor Moss
Reporter
Gregor Moss
Created
2017-09-08T17:11:48.687-0400
Updated
2018-07-20T14:23:22.941-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Storytelling Tool UI

Description

When specifying the storyAuthoring.resourceLoaderConfig.locale setting, it will not locate the correct message file when the region is specified in addition to the language.

In this case, if the "locale" is set to "fr-CA" in the index_fr.html file, the resource loader looks for message files that end in "fr-CA" (which don't exist), but then it falls back to "en" (which is the default) rather than "fr" (which is what is expected).

Needs further investigation and need to identify a replication case. Does the feature exist and the documentation is unclear about it? Does the feature not exist and the documentation is incorrect?