ExportStrings Method

InstallShield 2022 » Automation Interface

Project:This information applies to the following project types:

Basic MSI
DIM
InstallScript
InstallScript MSI
InstallScript Object
Merge Module

Call ExportStrings to copy all or a portion of the string entries for a specific language to a tab-delimited Unicode text file (.txt). You can provide the .txt file to a translator who can update the file with translated text. After it has been translated, you can import the translated string entries into your project by calling the ImportStrings method.

Syntax

ExportStrings (strfile As String, dTimeStamp As Date, sLang As String) As Boolean

Parameters

ExportStrings Method Parameters

Parameter

Description

strfile

Enter the fully qualified path to the text file that will contain the exported strings. If the file exists, the automation interface overwrites it.

ExportStrings creates a Unicode file.

dTimeStamp

All string entries have a date and time that they were last modified. This timestamp 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 only the string entries that have been modified since a specific date, specify the earliest date for the string entries you want to export. The automation interface exports the string entries that have changed on or since that date.

To export all of the entries for the specified language, enter the number 0.

sLang

Specify the identifier for the language whose string entries you want to export to the text file.

Applies To

ISWiProject 

See Also