[doc issue] Localization of UI Texts #113
Labels
follow-up-with/dev
Clarification with development needed.
not-doc-issue
Reported issue is not a documentation issue.
SAP Fiori elements
Issue description
Edit: correction of the typo in "sap-language"
Hello,
I have noticed an issue with the ABAP CDS Localization of UI Texts.
It is about the following SAP documentation :
I have tried to implement it as described an I am using a List Report to display some demo data from the new flight data model.
I defined the line item in a Metadata Extension file:
@UI.lineItem: [{position: 70, label: '{i18n>TotalPrice}'}] TotalPrice;
And added the key-value pair into the
i18n.properties
file.To this point, everything works perfectly fine.
But when i add another i18 file, in my example for the german langauge e.g.
i18n_de.properties
the language specific Text is not read and the standard sap-label (if existent) or the datafield name is shown wen loding the app in the preview (BTP BAS) with url parametersap-language=de
.Changes to the app title are working fine. And the text is availiable in the networktab in the Browser DevTools. So I think this is an issue with the SAPUI5 Framework...
My expectation would be, that the localization via CDS annotation is also working for every other langauge file. Otherwise this way of implementation would not make sense.
Feedback Type (Optional)
other
Page Title on SAP Help Portal (prefilled)
Localization of UI Texts
Page URL on SAP Help Portal (prefilled)
https://sapui5.hana.ondemand.com/sdk/#/topic/b8cb649973534f08a6047692f8c6830d
The text was updated successfully, but these errors were encountered: