EN RU
Log in
Home
Download
Purchase
Documentation
Support
Contact us
 
Help  /  FAQ

How to show language-dependent text

CreateInstall allows you to define a special text for 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 the Language Resources commands for each language at the beginning of the Installation Script. Specify the language name (in English) in the command, and then add the required variables with the appropriate 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 dialog boxes and other commands. The text of variables is automatically changed when the user changes the installation language.

#mytext#
Eonza automation software - free, open source cross-platform program for easy creation and management of scripts.
  • Help
    • Introduction
    • Get to know CreateInstall
    • Compare installers
    • License Agreement
    • License Light
    • License Free
    • Program features
    • Command Reference
    • FAQ
      • Antivirus false positives
      • Command Prompt Mode
      • How to create shortcuts
      • How to get Control ID
      • How to sign an installation
      • How to use environment variables
      • Installing 64-bit applications
      • Local variables
      • Portable version
      • Unpacking filter
      • Common dialog parameters
      • Custom dialog function
      • Global variables
      • How to move and resize controls
      • How to use If Condition
      • Language-dependent variables
      • Multi build setups
      • Predefined folders
      • Predefined variables
      • Variables of dialogs
    • Examples & tips
    • CreateInstall Assistant
    • Problem solving
    • Setup Extractor
Copyright © Novostrim, OOO, 2009-2026 All rights reserved.