Old 25th May 2007, 18:04   #1
level2
Junior Member
 
Join Date: May 2007
Posts: 3
Problem with languages and MUI in 2.27

When i compile MUI example NSIS\Examples\Modern UI\MultiLanguage.nsi, then some languages defined in that file are ignored and not used in an installer file(some of ignored langs are: russian, czech, slovak, thai...). More then one half of the langs don't appear in the installation file.

Where could be a problem?

I've got fresh NSIS 2.27 installation and afaik it worked fine with all previous versions.

Thanks for help.
level2 is offline   Reply With Quote
Old 25th May 2007, 18:14   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
The language selection dialog no longer displays languages that are not supported by the user's codepage. This is done so the user won't get giberish for text.

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 26th May 2007, 13:25   #3
level2
Junior Member
 
Join Date: May 2007
Posts: 3
Is it possible to turn this "feature" off? Just for debugging purposes...
level2 is offline   Reply With Quote
Old 29th May 2007, 00:10   #4
pengyou
Major Dude
 
Join Date: Mar 2003
Posts: 571
Quote:
Is it possible to turn this "feature" off? Just for debugging purposes...
This is something I also would like to be able to turn off.

My multi-language installer has to do different things, depending upon the language selected. With the older releases it was easy to test this but if some languages are now being disabled it makes testing harder than it should be.

This new behaviour is a good reason for me not to upgrade to 2.27
pengyou is offline   Reply With Quote
Old 30th May 2007, 19:30   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
For testing, you can use StrCpy $LANGUAGE in .onInit or change the key that holds the last selected language in the registry.

Last but not least, you can submit a patch that adds an option to turn this feature off. The related change in System.nsh is:

http://nsis.cvs.sourceforge.net/nsis...1.210&r2=1.211

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
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