There is a languages folder in the Inno Setup directory, which provides a language for use, which can be implemented by adding a [languages] segment to the script, which implements the following code:
[Setup]
Global settings, this paragraph must be
Appname=test
Appvername=test
Defaultdirname= "E:\TEST"
appversion=1.0
Compression=lzma2/max
Showlanguagedialog=yes
[Languages]
Name: "EN"; Messagesfile: "COMPILER:DEFAULT.ISL"
Name: "CS"; Messagesfile: "COMPILER:LANGUAGES\CHINESESIMP.ISL"
[Files]
Source: "F:\desktop\test\ipmsg.exe"; DestDir: "{app}";
Source: "F:\desktop\test\bin.dat"; DestDir: "{app}"
Source: "F:\desktop\test\help.chm"; DestDir: "{app}"
Source: "F:\desktop\test\readme.txt"; DestDir: "{app}"; Flags:isreadme
In the above example, it is necessary to add Showlanguagedialog=yes in the [Setup] section, which is not even possible because the Showlanguagedialog default is yes.
During the installation process, different language interfaces will be used depending on the user's choice:
The last point to note is compiler: he provides the path to the directory where the compiler resides.
Inno Setup Introduction (vii)--Provides installation language options