Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Chinese Language does not support in sapui5

I am unable to access the Chinese language as locale using properties file . When I have changed the language as Chinese in Chrome browser and run the program ,I am getting the below error message.

SAPUI 5 is not supporting the Chinese language.

I am using the js view and view is not loading.

sap-ui-core.js:71 Uncaught SyntaxError: Invalid regular expression: /\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?竄罈�鎿�吲�覀�输))/ig;U.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"};U.invalid_hostname_characters=/[^a-zA-Z0-9\.-]/: Unterminated group(anonymous function) @ sap-ui-core.js:71_ @ sap-ui-core.js:71(anonymous function) @ sap-ui-core.js:71

SupervisoryUI.controller.js:1 Uncaught TypeError: sap.ui.controller is not a function(anonymous function) @ SupervisoryUI.controller.js:1

SupervisoryUI.view.js:1 Uncaught TypeError: sap.ui.jsview is not a function(anonymous function) @ SupervisoryUI.view.js:1

SupervisoryUI.html:22 Uncaught TypeError: Cannot read property 'registerModulePath' of undefined

Please suggest if anyone has any solution.

Thanks in advance



Resolved this issue by adding this to the HTML file

<meta http-equiv="X-UA-Compatible" content="no-cache" charset="UTF-8">

Thank you.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question