on 12-24-2014 10:26 AM
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.