cancel
Showing results for 
Search instead for 
Did you mean: 

Change the Keyboard Language

Former Member
0 Kudos

Hi Folks,

We have SAP EP 7.4 SP04 and working on a WDJ application development where we have 2 tabs say English & Hindi using TabStrip UI Element.

When I click on English Tab, the Input Language should be English. When I click on Hindi Tab, the input Language should be Hindi.

Is it possible?  If yes, please help me by providing useful links or code.

Regards,

Venkatesh K

Accepted Solutions (0)

Answers (1)

Answers (1)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I don't think web applications are able to influence things like the end-user's keyboard layout.

You can't do this in pure javascript either. Examples:

change keyboard layout with javascript - Stack Overflow

web app - Is it good to change keyboard's input language automatically in JavaScript? - User...

When clicking on tabstrip English you can change the locale to english (use the URL parameter sap-locale=en_GB) and do a similar behaviour for Hindi tab, BUT it won't affect the keyboard layout.

It'll affect the language of the user session, like datenavigator weekdays language, date format, which is the first day of week, whether to use right-to-left behaviour or not, which language bundle to use, and so on.

Regards,

Ervin

Former Member
0 Kudos

Hi Ervin,

Thanks for your quick response.  Kindly explain me more in detail.  My WDJ application is embedded in a page and not sure how to pass as an url parameter.

Thanks in Advance.

Regards,

Venkatesh K

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I only mentioned how to change the locale. This won't affect the keyboard layout!

example: http://abc.com/webdynpro/dispatcher/myvendor.com/myDC/myApp?sap-locale=de_DE is going to use german locale while http://abc.com/webdynpro/dispatcher/myvendor.com/myDC/myApp?sap-locale=en_GB will use english locale.

Regards,

Ervin

Former Member
0 Kudos

Hi Ervin,

Let me check and tell you.

Regards,

Venkatesh K

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

I hope you found my hints helpful.

Former Member
0 Kudos

Hi Ervin,

As I mentioned, my WDJ iView has two tabs in the same WDJ application.  I am not sure how to pass the url parameter to change the locale on click of each tab of the same Tabstrip control which is embedded on the same application.

But for now, the requirement is not required to change the change the language, we let the user to decide the language when they enter.

Regards,

Venkatesh K.