Old 21st November 2004, 04:30   #1
TobWen
Junior Member
 
Join Date: Apr 2001
Posts: 44
Send a message via ICQ to TobWen
Question $language ... not working correctly?

Hi,

might it be that $language is not working correctly?

I'm on a German Windows (1031), but $language always returns "1033" (English Windows).

Is this a known bug or is there a work-around?

Best,
Tobias
TobWen is offline   Reply With Quote
Old 21st November 2004, 06:13   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
this is the language used in the installer, not the language of the OS

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 21st November 2004, 06:17   #3
TobWen
Junior Member
 
Join Date: Apr 2001
Posts: 44
Send a message via ICQ to TobWen
mmh ok :-(

is there a variable for the language-ID of the OS?
TobWen is offline   Reply With Quote
Old 21st November 2004, 18:00   #4
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Here, or here


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 21st November 2004, 18:05   #5
TobWen
Junior Member
 
Join Date: Apr 2001
Posts: 44
Send a message via ICQ to TobWen
Yep, I already have used SEARCH, but these are non working!

I need the ID (like 1033 = english or 1031 = german) not the codepage like 403 or 407.
TobWen is offline   Reply With Quote
Old 21st November 2004, 18:31   #6
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
well...I think you'll have to code a little bit


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 21st November 2004, 18:33   #7
TobWen
Junior Member
 
Join Date: Apr 2001
Posts: 44
Send a message via ICQ to TobWen
but I think, this should be a basic-function for any programming-language:

$language and $os_language
TobWen is offline   Reply With Quote
Old 23rd November 2004, 18:40   #8
rsegal
Senior Member
 
rsegal's Avatar
 
Join Date: Feb 2003
Location: Toronto, Canada
Posts: 227
Quote:
Originally posted by TobWen
but I think, this should be a basic-function for any programming-language:

$language and $os_language
Indeed most programming languages would have that functionality. NSIS is not a programming language but the features you're looking for could be created by adding scripting functions for such functionality.
rsegal is offline   Reply With Quote
Old 23rd November 2004, 22:26   #9
TobWen
Junior Member
 
Join Date: Apr 2001
Posts: 44
Send a message via ICQ to TobWen
Okay, you are right ... sorry. But could anybody help me creating these subfunctions?
TobWen 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