Skip to content
⌘ NSIS Forum Archive

Button text on language choice dialogue

5 posts

John_Sum#

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
kichik#
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.
John_Sum#
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.
kichik#
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.