Old 28th November 2007, 17:26   #1
John_Sum
Junior Member
 
Join Date: Nov 2007
Posts: 10
Button text on language choice dialogue

Hi.

I am trying to produce an installer in Simplified Chinese and English. This I can do apart from two small issues. I am turning the opening dialogue, where the user is asked to choose a language, into a Chinese dialogue. I can change the dialogue window name and the text for "Please choose a language" into Chinese, but I cannot find out how to change the text on the OK and Cancel buttons or the text for the string English, which appears in the dropdown.

I am using the Unicode version of NSIS which, incidentally works really well and is bug-free in the functionality I am using.

Can anyone help?

Thanks
John_Sum is offline   Reply With Quote
Old 28th November 2007, 21:02   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You can't do that with the LangDLL plug-in. Default button texts are taken from the OS and in your case its GUI language is English.

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 3rd December 2007, 15:07   #3
John_Sum
Junior Member
 
Join Date: Nov 2007
Posts: 10
Thanks for your reply, I thought that may be an issue.

The strange thing is that when I run the installer in Chinese Windows, the button text is still in English. Even stranger is the fact that if I build the installer in Chinese Windows then the text is still in English. So it would appear that it is not quite that simple, or maybe I am missing something.
John_Sum is offline   Reply With Quote
Old 3rd December 2007, 18:20   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You're right. LangDLL doesn't use the default text from Windows. It always uses OK and Cancel. Please submit a feature request for this.

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 5th December 2007, 09:45   #5
John_Sum
Junior Member
 
Join Date: Nov 2007
Posts: 10
Hi kichik - thanks for your reply. I will submit the request.
John_Sum 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