Click here to Skip to main content
15,887,862 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
based on the language selection its display selected language current window innosetup.multi language installer

As a user installing APP,
Having first installer window with language selection open (with default selection in English)
I want to get this window translated into selected language.

What I have tried:

[Setup]
LanguageDetectionMethod=none
UsePreviousLanguage=yes
ShowLanguageDialog=auto
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"

[Messages]
english.SelectLanguageLabel=Select the language during the installation:
french.SelectLanguageLabel=Veuillez sélectionner la langue qui sera utilisée par l'assistant d'installation.
german.SelectLanguageLabel=Wählen Sie die Sprache aus, die während der Installation benutzt werden soll:
Posted
Updated 10-Dec-23 22:02pm
Comments
Dave Kreskowiak 11-Dec-23 9:41am    
OK, so what's the problem? Are you supplying all the translated text in the .isl files you listed?
Maciej Los 12-Dec-23 16:55pm    
If the installer have to use default OS language, use

[Setup]
LanguageDetectionMethod=uilanguage


See:
Inno Setup Help[^]
nikshith siddartha 27-Dec-23 1:55am    
[Setup]
LanguageDetectionMethod=uilanguage here only changing which is first is there in languages section only that one changing the text.as per below french text only changing language window


[Languages]
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900