on 09-24-2013 10:55 AM
Hi All,
Please help us for the below requirement.
How to display text in multiple languages at the same time in web dynpro abap gui like below sample text:
Name / नाम _____________________________ .
Thanks in advance.
Hi,
Please check with below solution, not sure it will work or not.
Create OTR text for English (Name) and Hindi () in SOTR_EDIT.
http://saptechnical.com/Tutorials/WebDynproABAP/Translations/OTR2.htm
Try to change manually sy-langu = 'H'.(Hindi value pass plz check) before executing the below statement
text = cl_wd_utilities=>get_otr_text_by_alias( 'SOTR_NAME_HINDI' ).
Set the value to label bind for hindi text.
Regards,
shaik farooq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Something new:
Try to place two context variables on the screen for a label/ ui element.
set separate texts for each variables. Provide translation for one of the varible. So, when user logs in the foreign language, the engligh text remains as it is(coz there is no translation) but other text which translation shows up on screen.
May be also include the logic, to hide the variable in case user logs in english, so that english does not appear.
Come to think of it, I myself am confused.
Regards.
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.