cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Portal User Language in SAP UI5

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

kenny_scott
Contributor
0 Kudos

Hi Pavan,

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

Regards

Kenny

Answers (2)

Answers (2)

0 Kudos

Thanks, Kenny and Santhosh. My problem sovled with your answers.

santhu_gowdaz
Active Contributor
0 Kudos