Restorer | 74a2331 | 2024-03-28 09:19:44 +0000 | [diff] [blame] | 1 | This directory contains a file with text strings for gVim installer. |
| 2 | It also contains files with translations of the text strings for gVim installer |
| 3 | into different languages. |
| 4 | |
| 5 | For translators. |
| 6 | |
| 7 | If 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 |
| 9 | directory. |
| 10 | Note that in the definition of the MUI_LANGUAGE macro, the name of the language |
| 11 | to be translated must be the English name of the language. |
| 12 | The name of the file with the translation must match the name of the target |
| 13 | language. |
| 14 | Also, when translating strings, pay attention to some restrictions on the |
| 15 | allowable 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. |
| 19 | Characters in this case mean characters of the English alphabet. |
| 20 | |
RestorerZ | 2730d38 | 2025-01-17 14:04:44 +0100 | [diff] [blame^] | 21 | If you do not yet have a translated "LICENSE" file and/or a main "README.txt" |
Restorer | 74a2331 | 2024-03-28 09:19:44 +0000 | [diff] [blame] | 22 | file, set the following values: |
| 23 | |
| 24 | for the license file |
RestorerZ | 2730d38 | 2025-01-17 14:04:44 +0100 | [diff] [blame^] | 25 | LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt" |
Restorer | 74a2331 | 2024-03-28 09:19:44 +0000 | [diff] [blame] | 26 | |
| 27 | for the readme.txt file |
| 28 | LangString vim_readme_file 0 "README.txt" |
| 29 | |
| 30 | Once you have the translations of these files, then set the values for these |
| 31 | variables similarly to what is done in the other translation files. |
RestorerZ | 2730d38 | 2025-01-17 14:04:44 +0100 | [diff] [blame^] | 32 | Translation files should be located in the "lang" subdirectory of the root |
| 33 | directory. The name of the files is as follows: "README.xx.txt", where xx is the |
| 34 | language code according to ISO639. |