I've tryied this, and it doesn`t work:
!define MUI_TEXT_WELCOME_INFO_TITLE "$(WELCOME_TITLE)"
!insertmacro MUI_LANGUAGE "French"
!insertmacro MUI_LANGUAGE "English"
LangString WELCOME_TITLE ${LANG_FRENCH} "!!!!!! La Professionale"
LangString WELCOME_TITLE ${LANG_ENGLISH} "!!!!!!! Installing $(^NameDA)"
Please help!
How tp define multilang !define MUI_TEXT_WELCOME_INFO_TITLE
7 posts
And where in the current documentation did you find MUI_TEXT_WELCOME_INFO_TITLE?
https://nsis.sourceforge.io/Docs/Mod...02/Readme.html lists the valid defines, has not changed much in the last 10 years.
Thanks for reply, but
!define MUI_TEXT_WELCOME_INFO_TITLE "!it works" <= substr is not found in https://nsis.sourceforge.io/Docs/Mod...02/Readme.html
!define MUI_WELCOMEPAGE_TITLE "!it doesnt work"<= found, but wrong.
Ten years of wrong docs?
!define MUI_TEXT_WELCOME_INFO_TITLE "!it works" <= substr is not found in https://nsis.sourceforge.io/Docs/Mod...02/Readme.html
!define MUI_WELCOMEPAGE_TITLE "!it doesnt work"<= found, but wrong.
Ten years of wrong docs?
MUI_TEXT_WELCOME_INFO_TITLE is used internally but you should not really use that.
This works fine for me and is documented:
This works fine for me and is documented:
!define MUI_WELCOMEPAGE_TITLE "Documented and works $(WELCOME_TITLE)"
!include MUI2.nsh
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"
LangString WELCOME_TITLE ${LANG_ENGLISH} "!!!!!!! Installing $(^NameDA)"
LangString WELCOME_TITLE ${LANG_FRENCH} "!!!!!! La Professionale"
Section
SectionEnd Thanks a lot !!!Originally Posted by Anders View PostMUI_TEXT_WELCOME_INFO_TITLE is used internally but you should not really use that.
This works fine for me and is documented:
!define MUI_WELCOMEPAGE_TITLE "Documented and works $(WELCOME_TITLE)" !include MUI2.nsh !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_INSTFILES !insertmacro MUI_LANGUAGE "English" !insertmacro MUI_LANGUAGE "French" LangString WELCOME_TITLE ${LANG_ENGLISH} "!!!!!!! Installing $(^NameDA)" LangString WELCOME_TITLE ${LANG_FRENCH} "!!!!!! La Professionale" Section SectionEnd
Your code is really works! I've understand that !define MUI_WELCOMEPAGE_TITLE "Documented and works $(WELCOME_TITLE)" must be before
!include MUI2.nsh