cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Localization in MII using SAPUI5

Former Member
0 Kudos
479

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

View Entire Topic
agentry_src
Active Contributor
0 Kudos

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