Old 28th December 2007, 08:51   #1
lovespy108
Member
 
Join Date: Sep 2007
Posts: 63
Change ComboBox Text of Installer Language DialogBox

I defined two languages for my installation.
English
SimpChinese

I want to change the text ("Chinese(Simplified)") in ComboBox of language dialog box to my native language("ä¸_文(简体)").

How to change that?

Thanks for help!!!!!!!!!!!!!!!
lovespy108 is offline   Reply With Quote
Old 28th December 2007, 09:07   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
code:
!define LANG_SIMPCHINESE_NAME "something"

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 28th December 2007, 09:29   #3
lovespy108
Member
 
Join Date: Sep 2007
Posts: 63
Before I asked the question,I tried to do that.But failed.
Where should I put the code?
lovespy108 is offline   Reply With Quote
Old 28th December 2007, 09:31   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Make sure you're using the latest version of NSIS first. This didn't work from 2.29 to 2.33.

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 29th December 2007, 00:33   #5
lovespy108
Member
 
Join Date: Sep 2007
Posts: 63
Quote:
Originally posted by kichik
code:
!define LANG_SIMPCHINESE_NAME "something"
It should be

!define LANGFILE_SIMPCHINESE_NAME "something"

By the way,How to set English is the default language to show in the editbox of ComboBox?
lovespy108 is offline   Reply With Quote
Old 29th December 2007, 14:07   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Set $LANGUAGE to ${LANG_ENGLISH} in .onInit before you display the dialog selection menu.

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