[ViewSettingsDialog]: [Translation is not working for all the text we see in the View Setting Dialog]
Describe the bug
In some languages such as German, Korean, and Japanese, the text displayed in the ViewSettingsDialog is not fully translatable. A customer has also reported this issue specifically in Japanese. I was able to reproduce the problem in multiple languages, including in the UI5 Web Components React documentation as well.
I'm able to reproduce the issue in new version too 2.10.0. Text like "Ok" not getting translated. Please do make sure all the text coming from component well works as expected.
The Text View Settings, Reset, Sort Order, Ascending, Descending, Sort By, Ok, Cancel" all these text should be translatable in all the supported languages as there are directly coming from the ViewSettingsDialog UI5 Web Component as inbuilt text.
Isolated Example
No response
Reproduction steps
- https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/modals-popovers-viewsettingsdialog--docs&globals=language:de
Expected Behaviour
The Text View Settings, Reset, Sort Order, Ascending, Descending, Sort By, Ok, Cancel" all these text should be translatable in all the supported languages as there are directly coming from the ViewSettingsDialog UI5 Web Component as inbuilt text.
Screenshots or Videos
UI5 Web Components for React Version
2.7.1, also in 2.10.0
UI5 Web Components Version
2.7.4
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
Organization
No response
Declaration
- [x] I’m not disclosing any internal or sensitive information.
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.
Hi @SAP/ui5-webcomponents-topic-b,
Could you please take a look?
Hi @Harshithaharsh,
Looking at the example images, it seems like only the "OK" button is not translated to other languages. Are there any other texts youve noticed that are missing their translation, or are incorrectly translated?
Best, Diana P
Hi @didip1000 , Yes in customer instance we have observed sometime even few more text are not getting translated. Added a screenshot for reference.
Hi @Lukas742, @didip1000 ,
Could you please expedite this as soon as possible? We have a production release this weekend, and this could impact many customers. Also, we would need the fix backported to 2.7.1 (our current production version) as we won't be able to patch the version upgrade to production due to the risk it involves.
Thanks Sunil
Hi @sunil-joseph01 and @Harshithaharsh
Korean (all translated)
German ("OK" is left as "OK" by the translation teams, and btw for German could be also perfectly fine)
)
Japanese ("OK" is left as "OK" by the translation teams)
You can see the source we use for the translations, f.e for Japanese: https://github.com/SAP/ui5-webcomponents/blob/main/packages/fiori/src/i18n/messagebundle_ja.properties#L156
You can check the all languages folder and find the language The texts that you are interested are starting with VSD_* - VSD_SUBMIT_BUTTON, VSD_FILTER_BY, VSD_SORT_BY, et.
@SAP/ui5-webcomponents-topic-b it's not an issue in the web component, this should be raised to the translation teams to revise the translation of the VSD_SUBMIT_BUTTON key, especially in Ja.
@SAP/ui5-webcomponents-topic-b, update - ticket to the translation team has been raised (no need to create another yourself).
Hi @Harshithaharsh,
As @ilhan007 pointed out, the component is already translated into Japanese, can you please check if the language is correctly configured in the app?
Best, Diana
Hi @ilhan007 @didip1000 , Its not only about okay button. In our application in qacand, we can see many text are still not translated to German, French and Japanese. Please refer the screenshots. What might be the issue for other text which are coming in English only.
Thanks, Harshitha
Hi @ilhan007 @didip1000, We are able to reproduce the issue in preview environment too, when we open dialog we get warning "Key VSD_DIALOG_TITLE_SORT not found in the i18n bundle, the default text will be used". Please see the attached screenshot.
Hi colleagues,
the issue is being fixed with 2.7.6, already tested on application preview by your team.
This issue has been closed. To reopen, just leave a comment!