Skip to Content
avatar image
Former Member

Change the Keyboard Language

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 24, 2014 at 02:57 PM

    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 Experience Stack Ex…

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Ervin Szolke

      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.