Skip to Content
avatar image
Former Member

internationalization

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?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 11, 2008 at 07:20 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 11, 2008 at 06:24 AM

    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-c357097a7d26

    I hope it helps

    Add comment
    10|10000 characters needed characters exceeded