Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to translate texts in the WD-application


There is several UI elements with texts set through the property editor. It works fine when the application is started in the language in which it was created. But when the application is started in other languages, there is only GUID's instead of texts.

How to translate my application in other languages? The Goto->Translation menu is disabled for the WD application.




You need to make use of the OTR concept to overcome this internationalization problem in Webdynpro. Once you create the desired OTR text (TCODE SOTR_EDIT) you can then maintain the translations in desired languages. You can make use of the standard function module sotr_api_wb_translate for the translation procedure.. In the call to the FM enter your source & target language and PGMID = LIMU, OBJECT = WDYV & OBJNAME = <name of WDA component> (you can use % here as a wildcard). After giving all these import parameters it would go to a screen(Translate from & to &) where it would show all the custom text OTRs we had created . It would also have an input field for the selected custom OTR text. This is where you put the translation for that OTR text. Also try go through this [thread|Translation with OTR] for more information. Hope that this helps resolve your problem.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question