Condividi tramite


How to: Add Translated Strings By Importing and Exporting Multilanguage Files

To add string translations for UI elements in a standard country/region-specific version of Microsoft Dynamics NAV 2013, you install a language module so that end users can view the UI elements in a different language. If you have customized objects in the application, then you must also add translations for those objects. You can translate strings in the following ways:

  • By using the Translate tool in the Microsoft Dynamics NAV Development Environment to import and export multilanguage files that contain translated strings for multiple objects

  • By using the Multilanguage Editor and editing the CaptionML property of individual objects

This topic describes how to use the Translate tool to import and export multilanguage files. For more information about how to use the Multilanguage Editor, see How to: Add Translated Strings By Using the Multilanguage Editor.

Exporting Multilanguage Files

To translate strings for multiple objects, you must first export all text strings.

To export a multilanguage file

  1. In the development environment, on the Tools menu, point to Translate, and then choose Export.

  2. In the TranslateExport window, select the location where you want to export the file.

  3. In the File name field, enter an appropriate name for the file.

  4. In the Save as Type field, select the format type, and then choose the Save button.

Translating Multilanguage Files

You can add translated strings directly to the exported file, or you can use a translation tool. If you add translated strings directly to the exported file, then use the following procedure.

To translate strings in a multilanguage file

  1. Open the multilanguage file for editing. For example, open the file with a text editor or in Microsoft Office Excel.

  2. For each string that you want to translate, create a new line in the file.

  3. Copy and paste the source ID of the item to be translated into the new line.

  4. Modify the four-character language code to the language to which you are translating.

  5. Add the translated string to the new line.

    The following illustration uses #### to represent the language code of the language to which you translate the string.

    Translated Strings file in Excel

Importing Multilanguage Files

After you add translated strings to the multilanguage file, you must import the file into the application.

To import a multilanguage file

  1. In the development environment, on the Tools menu, point to Translate, and then choose Import.

  2. In the TranslateImport window, navigate to the file that you want to import.

  3. Select the file, and then choose Open.

See Also

Concepts

Multilanguage Development