Show TOC

 Translating Text ElementsLocate this document in the navigation structure

Use

You use this procedure to translate text elements stored in a text pool.

Prerequisites

You have maintained the text elements in their original language.

Procedure
  1. In the Object Navigator (transaction SE80), open the program you want to edit.
  2. In the context menu of the program, choose Start of the navigation path Display Next navigation step Text Elements End of the navigation path.

    The ABAP Text Elements screen appears.

  3. Choose Start of the navigation path Goto Next navigation step Translate End of the navigation path.

    The Target language for translation dialog box appears.

  4. Enter the target language.
  5. Choose Translate .
  6. Translate the texts.
  7. Save your translation.
Result

You have created a text pool for different languages. Once you have done that, you can change the language in which you run the program by changing one of the following:

  • The logon language. The default language for your program is the user's logon language.
  • The SET LANGUAGE statement. This ABAP statement allows you to set the output language explicitly and independently of the logon language.
    SET LANGUAGE < lg >.

    The language <lg> can be a literal or a variable.

Once you have set a language, the system looks in the text pool of that language. If it cannot find the relevant text symbols in that pool, it displays the default text specified in the program source code (if one exists), otherwise it skips the corresponding WRITE statement.