[x] Unit or Functional tests are included in the PR
Description:
Not all valid locales have cldr-data, therefore if a locale like zh-CN is used then the cldr loader should load the cldr-data for the minimum locale, in this case it would be zh. It should still be loaded by changing locale to zh-CN.
Type: feature
The following has been addressed in the PR:
prettier
as per the readme code style guidelinesDescription:
Not all valid locales have cldr-data, therefore if a locale like
zh-CN
is used then the cldr loader should load the cldr-data for the minimum locale, in this case it would bezh
. It should still be loaded by changing locale tozh-CN
.Resolves #252