on 2015 Nov 03 11:19 AM
Hello All,
I am trying localization using SAPUI5 and for the same reason I am trying to call resource bundle from META-INF in js file using the following syntax
url: '/XMII/Catalog?ObjectName=CustomerExamples/META-INF/Bundles/<Project>_<language>.properties&Mode=LOAD'
But, I am getting below error while referring to the above syntax.
Error: resource URL '/XMII/Catalog?ObjectName=CustomerExamples/META-INF/Bundles/<Project>_<language>.properties&Mode=LOAD' has unknown type (should be one of .properties,.hdbtextbundle).
Please let me know if there is any fix to it or something that is missing in the above syntax.
Thanks.
Harsh
Request clarification before answering.
Hi Harsh,
Thank you for creating the Discussion. Adding the link so the SAPUI5 experts will also see this, though I don't think moving it there makes sense at this time. Your question is more focused on MII content than the SAPUI5 coding.
Regards, Mike (Moderator)
SAP Technology RIG
I would also suggest that you check the syntax of LOAD in hbtextbundle which is where the error message says the trouble is caused. May not be all caps?
Message was edited by: Michael Appleby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.