Show TOC Start of Content Area

Procedure documentation Translating Language Dependent Attributes  Locate the document in its SAP Library structure

Use

When you develop your composite application, you can set business object attributes of the type STRING to be language dependent. This way you can translate business data using an automated procedure. Translation process can be performed on different systems for translation and then the translated content is imported into CAF.

Prerequisites

      You have developed a composite application and set the translatable business object node attribute property Language to trueon the Structure tab page.

More information: Modeling Business Object Attributes

      You have generated, built and deployed your application on the server.

Procedure

...

       1.      Export the database content of the business object nodes you have set to be translation relevant.

More information: Transporting CAF Content Between Different Composites

       2.      Create or reuse a Dictionary Development component.

More information: Creating Dictionary Development Components

       3.      In the Navigation  Explorer of theComposite Application perspective, click the dictionary development component you have created with the secondary mouse button and choose Import    Translation Import DB Content.

       4.      Select the xml files with database content you want to import. You have exported the xml files in the previous steps.  

       5.      From the Type dropdown box, select the type of application you want to translate. In this case it is a CAF application.

       6.      Select a target language from the Available Languages dropdown box and choose Next. The available languages in the xml file are listed here.

       7.      Select the application that is relevant for translation.

       8.      An xlf file is imported in your application with the target language you chose in the previous step. Rename the file as follows: <name of the old file>_<target language>.xlf.

       9.      To translate the language dependent attributes, edit the imported xlf file with an appropriate editor.

   10.      Save, build and deploy your application on the server.

More information: Deploying Dictionary Development Components

Result

The newly translated content is imported into the database after you deploy the application on the server. The application can be used in the translated language.

End of Content Area