dojo / webpack-contrib

Plugins and loaders for webpack used with Dojo
Other
4 stars 19 forks source link

Register minimum language id for specified locales #293

Closed agubler closed 4 years ago

agubler commented 4 years ago

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 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.