|
|
#1 |
|
Junior Member
Join Date: Sep 2005
Posts: 2
|
Multilanguage
How to set the license text (MUI_PAGE_LICENSE text/rtf_file) depending on the chosen
language (MUI_LANGDLL_DISPLAY)? Thanks a lot. |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Use LicenseLangString. See Examples\languages.nsi for an example.
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: Sep 2005
Posts: 2
|
It works for the classic UI but I can't get it work for the modern UI.
LicenseLangString... "Does the same as LangString only it loads the string from a text/RTF file and defines a special LangString that can be used only by LicenseData." |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You can also use that LangString for MUI_PAGE_LICENSE.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
|
in my example I use it like this:
LicenseLangString license ${LANG_ENGLISH} "license.txt" and I use modern UI... |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Oct 2005
Location: The Netherlands
Posts: 2
|
Can someone plz post the License part of there script for me, as i don't know what i need to past where
i want to use this: code: and i have this: code: Greetings, René |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jun 2005
Posts: 211
|
!insertmacro MUI_PAGE_LICENSE "$(myLicense)"
.... !insertmacro MUI_LANGUAGE "English" !insertmacro MUI_LANGUAGE "Dutch" LicenseLangString myLicense ${LANG_ENGLISH} "license_en.txt" LicenseLangString myLicense ${LANG_DUTCH} "license_nl.txt" |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Oct 2005
Location: The Netherlands
Posts: 2
|
Thx man that worked,
Greetings, René |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|