NSIS non-Unicode Chinese with special location settings
Hi,
I have an NSIS installer running for driver installation with support for
about 24 languages including Traditional and Simplified Chinese.
Now a customer in Singapore complained about unreadable parts of the dialogs.
We found out, that setting the Location in "Control Panel| Regional and language options"
to Chinese (Singapore) (Regional Options Tab and Advanced Tab) and will lead to this.
Reason: Chinese (Taiwan) and Chinese (PRC) are the language codes supported by Traditional
and Simplified Chinese Language files.
All other "SubLanguages" with different language code get displayed incorrectly.
(Tested even on a native chinese Windows System)
As a workaround I duplicated the Simplified and Traditional Chinese Language files (nlf/nsh)
and set the correct Language code in the header, and added these language variants.
TradChinese_MC (Macau), TradChinese_HK (Hongkong) and SimpChinese_SP (Singapore).
!insertmacro MUI_LANGUAGE "SimpChinese"This workaround works fine except for one thing:
!insertmacro MUI_LANGUAGE "SimpChinese_SP"
!insertmacro MUI_LANGUAGE "TradChinese"
!insertmacro MUI_LANGUAGE "TradChinese_MC"
!insertmacro MUI_LANGUAGE "TradChinese_HK"
On non-Vista systems the Dialog Title of the Welcome Dialog shows 2 strange signs
instead of the chinese characters for "Setup" in the ^SetupCaption string.
This happens only on non-Vista (W2K, WXP, W2k3) systems.
Is this a "Feature" of Windows before Vista or another reasonable explanation.
If it can be fixed - HOW?
Remark: I know that most probably the Unicode Version of NSIS will fix this too,
but the (internal) requirement that the installer needs a complete re-test led to the
decision to stay with the non-Unicode version at the moment.