on 2016 Jun 02 3:25 AM
Hello-
I have a issue with i18n text in my fragment view.
I have created a folder fragment and created a file called Export.fragment.xml. inside that I have 2 buttons as below one referring text from i18n and hard coded
But on the out put I cannot see the text I maintained in i18n :
exporttopdf = Export to PDF
exporttoexcel= Export to Excel
The out put shows blank on one button and
What should I do if I need to get i18n text to be reflected to my fragment folder?
Kindly help.
Thanks,
Karthik.
We need to set i18n resource model explicitly for dialogfragment. check this link for example.
Thanks,
Madhu Sudhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Set the i18n model to _oPopover like
this._oPopover.setModel( i18nModel, "i18n");
Regards
Sreenivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthikeyan,
start your app and open the fiori console (alt+shift+ctrl+s) and look for the menu with the missing label. If you select the control, is the text property filled?
There also is a UI5 Plugin for the Chrome browser that may help.
Sounds weird that one label is showing and another one not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did u add this fragment as dependent of your view?
this.getView().addDependent(oDialogFragment);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthikeyan ,
Please share how u r creating i18n Model !!!
Regards,
Jibin Joy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Karthikeyan ,
We have to create resource models also for more Information please Refer Step 8: Translatable Texts
Regards,
Jibin Joy
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.