-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
When I tried to load locales from application.yml
to List<Locale>
, Spring Framework's LocaleEditor
is called to map it, but locales with scripts like zh-Hans
or zh-Hant
are not handled correctly because the locale is not loaded with the Locale.forLanguageTag
method.
In method setAsText
of LocaleEditor
, the call to StringUtils.parseLocaleString
should probably be replaced with StringUtils.parseLocale
like it is in StringToLocaleConverter
.
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement