|
|
#1 |
|
Junior Member
Join Date: Feb 2008
Posts: 2
|
License file based on a language and a sub language
Hi, I've been really impressed with NSIS and this is the first problem that I've come across that I simply can't find an answer for.
I want to show a different license file for UK English and US English, I've tried doing it like this LicenseLangString license 2057 "license UK.rtf" LicenseLangString license 1033 "license US.rtf" LicenseLangString license ${LANG_GERMAN} "license G.rtf" LicenseLangString license ${LANG_SPANISH} "license Sp.rtf" LicenseLangString license ${LANG_ITALIAN} "license I.rtf" LicenseLangString license ${LANG_FRENCH} "license FR.rtf" but this causes all text in the installer to go blank when the language is set to 2057 (which is English UK) and I also get lots of warnings like this: LangString "MUI_TEXT_WELCOME_INFO_TITLE" is not set in the language table of language 2057. I assume this is because LicenseLangString sets the language variable to 2057. What I really want it to do is just show a different license file for that language and still use US English for the rest of the installer. Anyone have any ideas how I can get round this problem? Any help would be greatly appreciated. Thanks
|
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You have to load a language file for English UK, if you wish to easily use a different license file for it. If not, you can load it from an external file.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2008
Posts: 2
|
Thanks kichik.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|