Exporting and Importing String Entries

InstallShield 2015

To ease the task of translating all of the run-time strings in your project, InstallShield enables you to export the string entries for a language to a tab-delimited text (.txt) file. You can provide that .txt file to a translator who can update the file with translated text. Then you can import the .txt file back into your InstallShield project for a localized end-user interface.

Tip: To automate the export and import process, you can use the InstallShield automation interface. To learn how, see Exporting and Importing String Entries Using the Automation Interface.

Exporting a Language’s String Entries from InstallShield to a Text File

InstallShield lets you export all of the string entries for a language, or only some of the string entries. You may want to export only the string entries that have been modified since a specific date. This is useful if you want to give the translator only the string entries that are new or have been modified since the last round of translations.

To export all of the string entries for a language:

1. In the View List under User Interface, click String Editor.
2. Click the Export Strings button. The Select File and Language to Export dialog box opens.
3. Browse to the location where you want InstallShield to save the text file.
4. In the File name box, enter the name of the text file that you want InstallShield to create.
5. In the Language list, select the language whose strings you want to export to the text file.
6. Click Save.

InstallShield exports all of the selected language’s string entries to a tab-delimited Unicode text file. You can give this text file to your translator.

Tip: By default, the export process creates a Unicode text file. Although the Select file and language to export dialog box has a check box that lets you export the string entries to an ANSI file, an ANSI file is not created by default. The Unicode text file is the preferred type of file, since ANSI files requires that the build machine have the appropriate code pages for double-byte languages. To learn more, see Code Page Requirements for Language Support.

To export only some of the string entries for a language:

1. In the View List under User Interface, click String Editor.
2. Select the string entries that you want to export:
To select multiple consecutive rows, click the first row, and then press SHIFT while clicking the last row.
To select multiple nonconsecutive rows, click the first row, and then press CTRL while clicking each additional row.
3. Press CTRL+C to copy the string entries in the selected rows to the Clipboard.
4. Create a new text file in a text editor such as Notepad.
5. Press CTRL+V to paste the content in the Clipboard in the text file.
6. Save the text file. It is recommended that you save the file with Unicode encoding, since Unicode supports double-byte characters. To learn more, see Code Page Requirements for Language Support.

Tip: The automation interface lets you automate the process of exporting only the string entries that have been modified since a specific date. To learn more, see Exporting and Importing String Entries Using the Automation Interface.

Importing String Entries from a Text File Into an InstallShield Project

InstallShield lets you import translated string entries from a text file to an InstallShield project.

To import the tab-delimited text file that has been translated:

1. In the View List under User Interface, click String Editor.
2. Click the Import Strings button. The Select File and Language to Import dialog box opens.
3. Select the text file that you want to import.
4. In the Language list, select the language for the text entries that you are importing.
5. Click Open.

The string entry importer checks for conflicts with string identifiers. If any conflicts exist, InstallShield prompts you to indicate whether you want to overwrite the existing entry in your project with the one in the text file.