Archive: InstallButtonText with MultiLanguage


InstallButtonText with MultiLanguage
  Hi, I need to change text of Install button.
I use

InstallButtonText "my text"


How can I use this command for Russian Language?
I try
LangString "InstallButtonText" ${LANG_ENGLISH} "my text"
LangString "InstallButtonText" ${LANG_RUSSIAN} "my Russian text"

it doesn't work..

Hi
Make sure you used !insertmacro MUI_LANGUAGE before LangString.

This is correct order:

!insertmacro MUI_LANGUAGE "English"

>!insertmacro MUI_LANGUAGE "Slovak"

>; !include "your_translation_file.nsh" ; here or:

>LangString GraphicalInstallerButtonPrint ${LANG_SLOVAK} "Vytlacit"
>LangString GraphicalInstallerButtonPrint ${LANG_ENGLISH} "Print"
This is important when you have your translation in some .nsh file and you !include it.
That !include call must be after !insertmacro MUI_LANGUAGE too!

It seems that NSIS doesn't support ${LANG_*} constants now.
You must use id instead, for example, English (US) is 1033.
LangString GraphicalInstallerButtonPrint 1033 "Print"


Originally posted by jiake
It seems that NSIS doesn't support ${LANG_*} constants now.
You must use id instead, for example, English (US) is 1033.
LangString GraphicalInstallerButtonPrint 1033 "Print"
Since when? The LANG_ define is only set after you include the nlf (language file) so you need to do that before using LangString.

Stu