Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 24th March 2003, 18:20   #1
afuchi
Junior Member
 
Join Date: Mar 2003
Posts: 2
Problem with LangString.

Hi all.

I've forced the comparation with "1.5" in order to force the display of the string JRE_INSTALL but always is shown in Spanish. What's the problem?

Thank's in advance.
César.
Attached Files
File Type: nsi prueba1.nsi (2.7 KB, 31 views)
afuchi is offline   Reply With Quote
Old 24th March 2003, 19:45   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
From the documentation (section 4.10):

Quote:
When the installer starts up it goes through these stages to select the interface language:

1. Find a perfect match between the user default language (GetUserDefaultLangID())
2. If there is no perfect match, find a primary language match
3. If no match, take the first language defined in the script
4. If $LANGUAGE has changed during .onInit, go through steps 1 to 3 with the language inside $LANGUAGE instead of the default user language.
This means the value you set in .onInit will only be set after .onInit returns. While in .onInit the installer language will be the language choosen by NSIS as the best match, next best, or the default.

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 24th March 2003, 20:21   #3
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,896
I you read multilanguage example:
$NSISDIR\Examples\languages.nsi
You get more help about this.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Reply
Go Back   Winamp 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