cancel
Showing results for 
Search instead for 
Did you mean: 

Why is the sap-locale parameter not showing the languages in CAP on BTP?

AndersO
Associate
Associate
0 Kudos

I installed the https://github.com/SAP-samples/cap-sflight app on a BTP trial account and I'm able to use the sap-language=de URL parameter to show the German UI.  But when I use sap-locale=de it displays the English UI. According to https://cap.cloud.sap/docs/guides/i18n#user-locale sap-locale should work. What do I need to do for sap-locale to work?

robinjayasinghe
Advisor
Advisor
0 Kudos

As CAP SFlight is a dual stack application (node.js and Java) it would be good to know whether you experienced the problem when running the CAP Java or CAP node.js stack.

View Entire Topic
AndersO
Associate
Associate
0 Kudos

This is the Node.js stack

More specifically this url doesn't show German when I open it from the Build Work zone site directory in BTP Cockpit. This shows the English UI (If I use sap-language=de instead it shows the German UI)

https://ca666e4ftrial.launchpad.cfapps.us10.hana.ondemand.com/site?siteId=91e6bc8d-d6a7-4576-9960-36...

When I open the app from the HTML5 Applications section in the BTP Cockpit it shows the German UI correctly
https://ca666e4ftrial.launchpad.cfapps.us10.hana.ondemand.com/289d533d-4d75-44b0-ad98-14821188926d.s...