on 12-03-2008 7:17 AM
Hi experts,
When we execute web dynpro application it takes browser langauge as
default Lanaguage.
We can change text of application by changing SAP-Language in url.
But my requirement is :
I have to add two button English and German on web dynpro application.
When I click on German Button text of appliaction should convert into German,
when on english text should convert to english.
Please tell me how to do this.
Thanks in advance
--
Regards,
Kulvendra Kumar
You can't really dynamically switch the logon language completely. It has to be set at time of logon. You would have to reload the application via a navigation plug and specify the new language as a URL parameter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you know how to use OTR??? OTR is the concept we use for internationalisaton......
go to transactio sotr_edit
first for language english-->>
give text and alias ..... remember the alias name..... and click on create.......
similarly for language german u can give text and alias....
now in your application you have use this method
otr_servcentrale = cl_wd_utilities=>get_otr_text_by_alias(
'ZHRWEBDEV/SERV_CENTRAL')
to fetch the otr text in variable otr_servcentrale.
regards
pranav
Edited by: Pranav Nagpal on Dec 3, 2008 9:33 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
it will change automatically only if you give same alias name for both the languages..... wht i was saying that on click on button you can use the method i mention in above post to read the text using alias name....
but since you are using dictionary text i wont be able o help you in that regard as i have never worked on that......
regards
Pranav
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.