How to show language-dependent text

How to show language-dependent text

CreateInstall allows you to define special text for the each language that you use in your installation. For example, you would like to show the dialog text in the same language as the user has selected.

Step 1

Insert Language Resources commands for the each language at the beginning of the Installation Script. Specify the language name (in English) in the command and then add required variables with according text. These variables must have the same name in the each command.
Language: English
mytext = This is an English text.
another command for German
Language: German
mytext = This is a German text.

Step 2

Now you can use defined variables in dialogs and other commands. The text of variables are changed automatically when the user changes the installation language.
#mytext#