[MUI] Multilingual custom page
Hi,
I'm using MUI for creating multi-lingual installation files. After the license page (license generally in English) and just before the directory page, I want to display some text in the appropriate language.
!insertmacro MUI_PAGE_LICENSE "license.txt"
Page custom InfoBefore
!insertmacro MUI_PAGE_DIRECTORY
I'm trying to adapt the the example "MultiLanguage.nsi", but I'm not sure how to achieve this. I don't know how to combine the language selection with the choice of the appropriate ini file. Or are there simpler possibilities?
I'm trying this:
LangString TEXT_INFO_BEFORE ${LANG_ENGLISH} "ioA_en.ini"
LangString TEXT_INFO_BEFORE ${LANG_GERMAN} "ioA_de.ini"
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "$(TEXT_INFO_BEFORE)"
This doesn't work: File: "$(TEXT_INFO_BEFORE)" -> no files found.
Thank you.
Stefan