Skip to content

Commit

Permalink
fix Localization of dynamic attribute doesn't work for complex locals j…
Browse files Browse the repository at this point in the history
  • Loading branch information
KartnDev authored Dec 25, 2023
1 parent 3de8fec commit e5bc5e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private void initComponentUi() {

protected void loadLocalizedValues() {
for (Locale locale : coreProperties.getAvailableLocales()) {
String localeCode = locale.toLanguageTag();
String localeCode = locale.toString();
AttributeLocalizedValue localizedValue = getAttributeLocalizedValue(localeCode);
if (localizedValue == null) {
localizedValue = createAttributeLocalizedValue(localeCode);
Expand Down

0 comments on commit e5bc5e5

Please sign in to comment.