Details
-
Bug
-
Resolution: Inactive
-
Neutral
-
None
-
5.3.9
-
None
-
None
Description
It happens while switching languages in dialogue. DefaultI18NAuthoringSupport.i18nize go inside CheckBoxField component and in block
if (StringUtils.isNotBlank(currentCaption)) { if (formerLocale != null) { currentCaption = currentCaption.replace(String.format("(%s)", formerLocale.getLanguage()), ""); } field.setCaption(String.format("%s (%s)", currentCaption, locale.getLanguage())); }
it add language to CheckBox label (label right of the box).
Possibly solution
- do not add language if there wasn't before
- check if formerLocale and locale.getLanguage() because inside component formerLocale is already changed to new value
Checklists
Acceptance criteria