blob: 07899cbe2d0a3c1686e5a18cef0c130411fcf7a6 [file] [log] [blame]
Restorer74a23312024-03-28 09:19:44 +00001This directory contains a file with text strings for gVim installer.
2It also contains files with translations of the text strings for gVim installer
3into different languages.
4
5For translators.
6
7If you want to prepare a translation for the gVim installer, use the file
8"english.nsi" as a master file. See the other translation files in this
9directory.
10Note that in the definition of the MUI_LANGUAGE macro, the name of the language
11to be translated must be the English name of the language.
12The name of the file with the translation must match the name of the target
13language.
14Also, when translating strings, pay attention to some restrictions on the
15allowable length of strings. For example:
16 component description field - 117 characters;
17 description above the drop-down lists on the .vimrc page - 53 characters;
18 drop-down lists on the .vimrc page - 55 characters.
19Characters in this case mean characters of the English alphabet.
20
RestorerZ2730d382025-01-17 14:04:44 +010021If you do not yet have a translated "LICENSE" file and/or a main "README.txt"
Restorer74a23312024-03-28 09:19:44 +000022file, set the following values:
23
24for the license file
RestorerZ2730d382025-01-17 14:04:44 +010025LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt"
Restorer74a23312024-03-28 09:19:44 +000026
27for the readme.txt file
28LangString vim_readme_file 0 "README.txt"
29
30Once you have the translations of these files, then set the values for these
31variables similarly to what is done in the other translation files.
RestorerZ2730d382025-01-17 14:04:44 +010032Translation files should be located in the "lang" subdirectory of the root
33directory. The name of the files is as follows: "README.xx.txt", where xx is the
34language code according to ISO639.