Skip to Content
0
Former Member
Apr 06, 2016 at 03:32 PM

Resource Bundle not working in fragment

194 Views

I am following the SAP's guidelines and updated the manifest.json with my resource bundle.

SAPUI5 SDK - Demo Kit

"models": {
"i18n": {
"type": "sap.ui.model.resource.ResourceModel",
"settings": {
"bundleName": "sap.ui.demo.wt.i18n.i18n"
}
}
}

This is not working in Fragment.

<core:FragmentDefinition xmlns:core="sap.ui.core" xmlns:commons="sap.ui.commons"
  xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
  xmlns:html="http://www.w3.org/1999/xhtml"
  xmlns:form="sap.ui.layout.form"
  xmlns:l="sap.ui.layout" xmlns:sap.ui.core="sap.ui.core">

  <Dialog
        title="{i18n>titleFragTitle}" contentWidth="50%">
        <content>