cancel
Showing results for 
Search instead for 
Did you mean: 

How to go for Internalization in Web Dynpros

Former Member
0 Kudos

Hi All,

Can any one provide me the steps for internalization in Web Dynpros.

Regards

DK

Accepted Solutions (1)

Accepted Solutions (1)

sridhar_k2
Active Contributor
0 Kudos

Hi DK,

Internationalization in Web Dynpro is very simple.

In your project, for each view, Controller, Simple Type, Message Pool there will be one .xlf will be created by default.

For Internationalization you just need to go that .xlf file and desired language.

For Example, View Name is ‘TestView’ there will be – ‘TestView.wdview.xlf’ will be there. Just need to create similar file for language. (TestView.wdview_de.xlf). And in the test just add corresponding German.

Go to Internet Explorer Tools -> Internet Options -> Languages -> Add German (de).

Rebuild your application and then deploy. It will give your corresponding German Language.

For more information please go thru this link. It will be helpful.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c6cfad90-0201-0010-a5b8-8f9...

Regards,

SK

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dipendra,

There is a tutorial available for Internationalization in Web Dynpro which will be of good help.

https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-d...

In crux, if I may say:

a) You need to look for .xlf files and convert it to _lg.xlf files. (Lg-> Language like en, de etc...)

b) Use the editor given by eclipse to translate these messages into other languages. Translation has to be done manually

c) Use textAccessor to retrieve messages based on locale

Regards,

Subramanian V.