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:
Kenny Scott replied
Hi Pavan,
var sLocale = sap.ui.getCore().getConfiguration().getLanguage();
Regards
Kenny