ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[ViewSettingsDialog]: [Translation is not working for all the text we see in the View Setting Dialog]

Open Harshithaharsh opened this issue 1 year ago • 12 comments

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

  1. 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

Image Image Image Image

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.

Harshithaharsh avatar May 12 '25 05:05 Harshithaharsh

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

Lukas742 avatar May 12 '25 06:05 Lukas742

Hi @SAP/ui5-webcomponents-topic-b,

Could you please take a look?

nnaydenow avatar May 12 '25 07:05 nnaydenow

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

didip1000 avatar May 13 '25 07:05 didip1000

Hi @didip1000 , Yes in customer instance we have observed sometime even few more text are not getting translated. Added a screenshot for reference.

Image

Harshithaharsh avatar May 13 '25 12:05 Harshithaharsh

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

sunil-joseph01 avatar May 13 '25 12:05 sunil-joseph01

Hi @sunil-joseph01 and @Harshithaharsh

Korean (all translated)

Image

German ("OK" is left as "OK" by the translation teams, and btw for German could be also perfectly fine)

Image

)

Japanese ("OK" is left as "OK" by the translation teams) Image

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.

ilhan007 avatar May 13 '25 13:05 ilhan007

@SAP/ui5-webcomponents-topic-b, update - ticket to the translation team has been raised (no need to create another yourself).

ilhan007 avatar May 13 '25 13:05 ilhan007

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

didip1000 avatar May 13 '25 13:05 didip1000

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.

Image Image Image

Thanks, Harshitha

Harshithaharsh avatar May 14 '25 04:05 Harshithaharsh

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.

Image

Harshithaharsh avatar May 14 '25 08:05 Harshithaharsh

Hi colleagues,

the issue is being fixed with 2.7.6, already tested on application preview by your team.

ilhan007 avatar May 20 '25 13:05 ilhan007

This issue has been closed. To reopen, just leave a comment!

github-actions[bot] avatar May 20 '25 13:05 github-actions[bot]