cancel
Showing results for 
Search instead for 
Did you mean: 

Translation with OTR

Denis_Müller
Participant
0 Kudos

Hello

I have to translate my webdynpro from german in english.

i opened the transaction sotr_edit, choose short text and insert an alias e.g. vorname (in english first name). Now i fill in a packet and the objecttype WDYV. In the field text i insert "Vorname" and length is 4.

now i insert in my webdynpro "$OTR:vorname" into the field text of my view.

if i test the webdynpro now there is the identifier "Vorname". Thats right.

if i change the parameter "sap-language" in the link to "EN" an test it i get also "Vorname".

How can i translate the object now?

what are the steps?

I read that i musst use the transaction SE63. But there is no OTR in this transaction.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Call the function module SOTR_API_WB_TRANSLATE in SE37 with the parameter:

SOURCE_LANGU DE

TARGET_LANGU EN

PGMID LIMU

OBJECT WDYV

OBJ_NAME <<name of your component>>
FLAG_STRING
EDIT_MODE T



Or you use transaction SE63, Menü Translation->ABAP-Objects->Short Texts, then select OTR. But if you have more than two OTR-Concepts, this is realy time consuming.

Denis_Müller
Participant
0 Kudos

what is <<name of your component>> ?

Former Member
0 Kudos

The name of the component, where the OTR-Concept is used.

The function module displays a screen, where you can translate all staticaly referenced OTR texts. You must not pass the whole component name. To use wildcard % is also allowed. For example if your component is ZDW_TEST01 then you can call the function module with ZDW_% and you can edit all OTR texts of all components starting with this string.

raja_thangamani
Active Contributor
0 Kudos

Use transaction SE63 to translate the long text and alias texts you have

created into another language.

Follow the menu Translation -> OTR -> Short Texts / Long Texts

Raja T

Former Member
0 Kudos

hi Denis ,

It seems you have not maintained alternative english code ....so when ever you will login you will get it .Now try this out ..go to SOTR_EDIT ..and your concept id and maintain is english text ...your job willbe done .

Denis_Müller
Participant
0 Kudos

I don't understand what i have to do.

can you explain me the exact steps please?

Former Member
0 Kudos

Hi,

see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/f8/dd8a0f276111d5b316000102a3fd99/frameset.htm">documentation</a>

Regards, Heidi

Denis_Müller
Participant
0 Kudos

Hello,

sry but this documentation doesn't help me.

@ Jörg

Thanks for your help.

Now i have found who to translate the texts.