Old 30th September 2005, 11:54   #1
fredeckbert
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.
fredeckbert is offline   Reply With Quote
Old 30th September 2005, 12:04   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 30th September 2005, 14:53   #3
fredeckbert
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."
fredeckbert is offline   Reply With Quote
Old 30th September 2005, 16:08   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 4th October 2005, 09:51   #5
cri_ned
Junior Member
 
Join Date: May 2005
Posts: 22
Send a message via Yahoo to cri_ned
in my example I use it like this:
LicenseLangString license ${LANG_ENGLISH} "license.txt"

and I use modern UI...
cri_ned is offline   Reply With Quote
Old 26th October 2005, 22:52   #6
rene.grobbee
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:
LicenseLangString license ${LANG_ENGLISH} "license.txt"


and i have this:
code:
;--------------------------------
;Language Selection Dialog Settings

;Remember the installer language
!define MUI_LANGDLL_REGISTRY_ROOT "HKCU"
!define MUI_LANGDLL_REGISTRY_KEY "Software\UFM Installer"
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"

;--------------------------------
; Pages

!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\orange-r-nsis.bmp"
!define MUI_HEADERIMAGE_RIGHT

!insertmacro MUI_PAGE_LICENSE "license.txt"
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES

;--------------------------------
;Languages

!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "Dutch"



Greetings,
René
rene.grobbee is offline   Reply With Quote
Old 27th October 2005, 00:55   #7
goldy1064
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"
goldy1064 is offline   Reply With Quote
Old 27th October 2005, 01:10   #8
rene.grobbee
Junior Member
 
Join Date: Oct 2005
Location: The Netherlands
Posts: 2
Thx man that worked,

Greetings,
René
rene.grobbee is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump