cancel
Showing results for 
Search instead for 
Did you mean: 

internationalization

Former Member
0 Kudos

hiii,

Regarding internationalization in webdynpro, what has been instructed in the pdf is the following :

*an international application must not contain any language-specific text elements in its source code. You must define these texts in the Message Editor.*

To make the translation process smoother, we recommend that you store any frequently used language-specific texts that you have defined in the Layout editor, such as labels or table headers, in Simple Types.

*In Web Dynpro, the text elements that you create at design time are isolated and grouped automatically in *.xlf files.*

can anyone explain me how to proceed about with this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Parama,

an international application must not contain any language-specific text elements in its source code. You must define these texts in the Message Editor.

To make the translation process smoother, we recommend that you store any frequently used language-specific texts that you have defined in the Layout editor, such as labels or table headers, in Simple Types.

*In Web Dynpro, the text elements that you create at design time are isolated and grouped automatically in .xlf files.

The above thing Explains that if you wants to do Internationalization to One Application You need not take Different Text Elements Separate for Every Language.

Suppose if Your Application has One View named " XYZView ".

You Wants to Apply Internationalization to that Application in the German Language Follow the below Steps.

1.) Go to Navigator --> Your Application --> Expand it --> src --> packages --> your Package Path --> there you find " XYZView.wdview.xlf " file.

2.) It contains labels, table headers, ... etc.

3.) Suppose If You wants your Application to be Internationalized to German Language then Copy the above file ( " XYZView.wdview.xlf " ) and Paste it in the same Folder and rename it as ("XYZView.wdview_de.xlf").

4.) The file ("XYZView.wdview_de.xlf") contains all labels, table headers, ..... etc. in English it self.

5.) Now you Double Click on ("XYZView.wdview_de.xlf") & go to Resource Text Tab. Select One Entry --> Right Click on it --> Click Edit --> New Window Opens --> In that Window Replace English Word with Equivalent German Word for Text Input Field --> Press OK.

6.) Repeat Step 5 for all Entries in the file ("XYZView.wdview_de.xlf").

7.) Save the Application.

8.) Reload the Application.

9.) Now the Application is Internationalized for German Language.

10.) To Test the Application Change the Browser's Local Setting to German and Deploy the Application.

Now the Application Works in German Language.

If you have any Doubts Reply with them back.

With Regards,

RooP KumaR.

Former Member
0 Kudos

we have to give the German word in the place of English word.

I think it will convert to German language.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

When you create a webdynpro application, you will set some language, say English. Now, In Message pool, you can add entries with key, type and description. And Dynpro application will assume those text for english as that is what you have chosen. You can fetch these using

Now, to Create for other languages,.

Add .xlf file which is similar to .properties file in portal and eventually will be converted to similar one while deployment.

You can add you text related to other languages in such files and web dynpro will handle it based on language

You can refer the followng link for example

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70361a88-d6ce-2a10-b1bc-c357097a...

I hope it helps