How can I set the language to a value I get from the command line?
(catching command line parameter is not the problem)
In the example I try to set $LANGUAGE to Frech, but this doesn´t work
😢
Can anybody give me a hint?
Thanks
rio
OutFile "install.exe"
LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
Name English
LoadLanguageFile "${NSISDIR}\Contrib\Language files\French.nlf"
Name French
LoadLanguageFile "${NSISDIR}\Contrib\Language files\German.nlf"
Name German
LangString Message_01 ${LANG_ENGLISH} "eng"
LangString Message_01 ${LANG_FRENCH} "fr"
LangString Message_01 ${LANG_GERMAN} "ger"
Function .onInit
StrCpy $LANGUAGE "French"
;HOW CAN I DO THIS
FunctionEnd
Section "" ; (default section)
MessageBox MB_OK $(Message_01)
quit
SectionEnd