Skip to Content

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

How to get Portal User Language in SAP UI5

Hi,

Can anybody give me the solution, how can I get the portal mapped language in to my sap ui5 application. my scenario is like below.

I have developed an SAP UI5 application and deployed it in the portal (created sap ui5 iView). Now, I have to do the Internationalization for this application. Hence, I need to get the portal language as a first step, where I am not getting any solutions to read the portal language in sap ui5. Can anybody please help me to get this. It would be more helpful if you can give me a step-by-step guide.

Thanks & Regards,

Pavan

Tags:
replied

Hi Pavan,

var sLocale = sap.ui.getCore().getConfiguration().getLanguage();

Regards

Kenny

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question