Hi,
I'm trying to create a multi-lingual installer (5 languages) and everything is working fine with the installer GUI and I have it installing language specific files and all that, but the one thing I can't figure out how to do is to include a language specific MUI_PAGE_LICENSE
How would one go about doing this? Any help would be greatly appreciated.
MUI Multi-lingual licenses
5 posts
You need to set LicenseLangString's as follows
LicenseLangString localizedLicenseFile ${LANG_ENGLISH} "license_en.txt"
LicenseLangString localizedLicenseFile ${LANG_SPANISH} "license_sp.txt"
!insertmacro MUI_PAGE_LICENSE "$(localizedLicenseFile)"
!insertmacro MUI_PAGE_LICENSE "$(LICENSETXT)"
...
; Language files
!insertmacro MUI_LANGUAGE "Russian"
!insertmacro MUI_LANGUAGE "English"
...
LicenseLangString LICENSETXT ${LANG_ENGLISH} "license_eng.rtf"
LicenseLangString LICENSETXT ${LANG_RUSSIAN} "license_rus.rtf"
Ok, thanks!
I tried that before, but I guess I didn't realize that the LicenseLangString should go after the MUI_LANGUAGE and not before everything.
I tried that before, but I guess I didn't realize that the LicenseLangString should go after the MUI_LANGUAGE and not before everything.
Multilingual example in Moreinfo
Multilingual example in Moreinfo plugin. Multi language in an easy extensible way in one of the demos. Will solve a lot of multilanguage language problems.
The "CustomLanguageDemo" Fully shows the power of getting the OS GUI language. I the demo a good example of how custompage localization works and could be implemented.
See the Wikipage
Or take a look in:
Just try the "CustomLanguageDemo" demo included.
Multilingual example in Moreinfo plugin. Multi language in an easy extensible way in one of the demos. Will solve a lot of multilanguage language problems.
The "CustomLanguageDemo" Fully shows the power of getting the OS GUI language. I the demo a good example of how custompage localization works and could be implemented.
See the Wikipage
Or take a look in:
Just try the "CustomLanguageDemo" demo included.