During processing the user defined locales from the dojorc we should process the minimum language id when it does not match the locale itself. This will ensure that bundles can be loaded for locales such as zh-CN and en-US that actually have their bundles registered against zh and en respectively. Without registering the minimum locale cldrjs will not load the message bundles correctly unless the locale is manually added to the .dojorc.
Bug
During processing the user defined locales from the
dojorc
we should process the minimum language id when it does not match the locale itself. This will ensure that bundles can be loaded for locales such aszh-CN
anden-US
that actually have their bundles registered againstzh
anden
respectively. Without registering the minimum locale cldrjs will not load the message bundles correctly unless the locale is manually added to the.dojorc
.