Closed jbibal-pdc closed 4 months ago
Hello @jbibal-pdc can you take a look whether this answer here also fixes your issue? https://github.com/cap-js/change-tracking/issues/48
Hi @jbibal-pdc,
I have reproduced this issue in my local.
And I find the reason why not showing the localized text is because of the incorrect definition for i18n.
From your sample:
status: @Common : {Label: '{@i18n>status}'} @changelog
Correct definition:
status: @Common : {Label: '{i18n>status}'} @changelog
There is no need to add @ before i18n.
Hope this will fix your issue. If you encounter any other problems, please let us know.
Best Regards Jocelyn
Hello,
The plugin doesn't seem to properly recognize i18n texts as needed for localization.
Following the guide from SAP: Localization of UI Texts
We assigned the
![image](https://github.com/cap-js/change-tracking/assets/105326887/1f1a1c61-66c4-45f7-ac3e-969e7e444112)
status
field the@Common.Label
annotation as seen below:However, the localized text isn't getting rendered properly.![image](https://github.com/cap-js/change-tracking/assets/105326887/caca115f-676a-4c49-9720-1edb6c09800c)
Not sure what I am doing wrong. I also tried
@changelog: ['{@i18n>status}']
, but to no avail.Hoping for your feedback.
Thanks, John