|
|
|
|
#1 |
|
Junior Member
Join Date: Jan 2010
Location: Netherlands
Posts: 4
|
How to force to a certain language
I would like to force my installer to always be in German, regardless of the Windows language and such. What do I need to do to make all the standard interface elements German? I thought just adding this to the top of my installer script would fix it:
Function .onInit StrCpy $LANGUAGE "1031" FunctionEnd However, the NSIS script compiler considers this okay, but my installer is still in English. What am I doing wrong here? By the way, I found the value "1031" for German here. I also tried using the hex value given there: $0407. |
|
|
|
|
|
#2 |
|
Member
Join Date: Sep 2005
Location: Sitting next to my desk
Posts: 56
|
You did not pass any code to find out the problem you have, Have you tried it this way:
code: This signature is currently on vacation! |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
if you're using MUI2, you can also use..
code: ..and call it a day - no need to touch the language bits yourself; it pretty much does what th_mi explained under the hood |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jan 2010
Location: Netherlands
Posts: 4
|
Ah, that was easy! I did have to combine it with an include, but that was it:
code: Awesomesauce, thanks for the quick help! |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Aug 2007
Location: Paris, France
Posts: 304
|
if you don't want MUI or MUI2, just do a
PHP Code:
My NSIS plug-ins: http://wiz0u.free.fr/prog/nsis.php |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|