Following a list of LCIDs which are used in InstallShield as Transform Identifier (e.g. 1031.mst for a german transform) and within the solution (ism file) for identifying the languages. NSIS uses these languages as well as Language ID in their NLF localization files (NSISINSTALLDIR\Contrib\Language files\*.nlf) e.g. to start the correct language installation. So I assume these should be the least problematic ones to use:
CultureName_WiX LcidDec LcidHex LanguageName ar-SA 1025 0x0401 Arabic bg-BG 1026 0x0402 Bulgarian (Bulgaria) ca-ES 1027 0x0403 Catalan (Catalan) Zh-TW 1028 0x0404 Chinese (Traditional, Taiwan) cs-CZ 1029 0x0405 Czech (Czech Republic) da-DK 1030 0x0406 Danish (Denmark) de-DE 1031 0x0407 German (Germany) el-GR 1032 0x0408 Greek (Greece) en-US 1033 0x0409 English (United States) es-ES 1034 0x040A Spanish - Spain (Traditional) fi-FI 1035 0x040B Finnish (Finland) fr-FR 1036 0x040C French (France) he-IL 1037 0x040D Hebrew (Israel) hu-HU 1038 0x040E Hungarian (Hungary) It-IT 1040 0x0410 Italian (Italy) ja-JP 1041 0x0411 Japanese (Japan) ko-KR 1042 0x0412 Korean (Korea) nl-NL 1043 0x0413 Dutch (Netherlands) nb-NO 1044 0x0414 Norwegian, Bokmål (Norway) pl-PL 1045 0x0415 Polish (Poland) pt-BR 1046 0x0416 Portuguese (Brazil) ro-RO 1048 0x0418 Romanian (Romania) ru-RU 1049 0x0419 Russian (Russia) hr-HR 1050 0x041A Croatian (Croatia) sk-SK 1051 0x041B Slovak (Slovakia) sv-SE 1053 0x041D Swedish (Sweden) th-TH 1054 0x041E Thai (Thailand) tr-TR 1055 0x041F Turkish (Turkey) sl-SI 1060 0x0424 Slovenian (Slovenia) zh-CN 2052 0x0804 Chinese (Simplified, PRC) pt-PT 2070 0x0816 Portuguese (Portugal) Additionally for the languages uk-UA 1058 0x0422 Ukrainian (Ukraine) et-EE 1061 0x0425 Estonian (Estonia) lv-LV 1062 0x0426 Latvian (Latvia) lt-LT 1063 0x0427 Lithuanian (Lithuania) hi-IN 1081 0x0439 Hindi (India) kk-KZ 1087 0x043F Kazakh (Kazakhstan) sr-Latn-CS 2074 0x081A Serbian (Latin, Serbia and Montenegro (Former)) zh-HK 3076 0x0C04 Chinese (Traditional, Hong Kong S.A.R.) I did a cross checking with NSIS and some MSDN reference and assume these LCIDs should be working ones. For zh-HK and zh-TW I'm a bit curious why there exist 2 localizations within WiX. The differences are minimal here (I conted 13) and for our products we only distinguish between Chinese Simplified and Chinese Traditional but without distinguising Chinese Traditional in Chinese Taiwan and Chinese Hongkong. But anyhow Bug in zh-HK found :-) There they need the bracket escaping similar to the zh-TW version [\[]安裝[\]] instead of [安裝]. Otherwise the zh-HK is not buildable. Tobias 2011/1/12 Blair <os...@live.com>: > I've seen it work fine with both Traditional and Modern sort LCIDs (for > Spanish, anyway). In fact, for all the ones I tested (back on Server 2003, > XP, and Vista, anyway) all the Spanish LCIDs I tested (including neutral) > worked. > > Neutral Chinese comes out backwards between NLS and .NET (traditional > characters instead of simplified characters) and a couple of the newer > "Unicode-only" LCIDs (LCIDs for which there is no default codepage) didn't > work with SUBLANG_NEUTRAL at all (some of the newer languages from India > added in XP, for instance). > > You need to be explicit with Norwegian, I don't remember which character set > is assumed if you attempt using SUBLANG_NEUTRAL with LANG_NORWEGIAN, so it's > best to be explicit. Same with Serbian and Croatian. > > Back to Chinese, I noticed that SUBLANG_CHINESE_TRADITIONAL and > SUBLANG_CHINESE_SIMPLIFIED work only if you specify them from native code, > but if you use the culture string for them .NET gives you values for the > LCID that don't work on at least one of the platforms we required back then > (not sure why .NET gives bad LCID values). > > Also, some of the lesser-used languages were not recognized at all by Server > 2003 even though XP did recognize them, which meant we couldn't build them > in our build lab. I never checked to see if Server 2008 has parity with > Vista, and I have been lead to understand that 2008 R2 has parity with > Windows 7, but I haven't tested or otherwise verified it. > > Speaking of "Unicode-only" languages: if you get rid of your Windows > Installer/WiX UI, we were able to use UTF8 for the codepage of the database > without any problems, but you CANNOT set packa...@summarycodepage to UTF8: > Windows Installer will report a corrupt installation package. Thus, for > Unicode-only cultures, you must use some other language (English?) for every > string set via the Package element. We just set that to 0 (7-bit ASCII) and > put just English text there and called it good. > > There are some great blogs on Windows and internationalization that are > worth checking to work around some issues, etc. > > Blair > > -----Original Message----- > From: Tobias S [mailto:tobias.s1...@gmail.com] > Sent: Tuesday, January 11, 2011 9:53 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] LCIDs of the supported languages of WixUIExtension > > For spanish I think it is traditional sort 1034, or at least it works > with that LCID > > > 2011/1/11 Tobias S <tobias.s1...@gmail.com>: >> You will find a list with the needed LCIDs e.g. here >> http://technet.microsoft.com/en-us/library/dd744369%28WS.10%29.aspx -> >> Language Packs >> >> >> >> 2011/1/11 <maksim.vazhe...@emc.com>: >>> Hi All, >>> I'd like to clarify LCIDs of the supported languages of WixUIExtension. >>> >>> Table of LCIDs from MSDN > (http://msdn.microsoft.com/en-us/library/0h88fahh(v=vs.85).aspx): >>> >>> -------------------------------------------------------------------- >>> Locale description Short string Hexadecimal value Decimal value >>> -------------------------------------------------------------------- >>> ... ... ... ... >>> Chinese - China zh-cn 0x0804 2052 >>> ... ... ... ... >>> Korean ko 0x0412 1042 >>> ... ... ... ... >>> Portuguese - Brazil pt-br 0x0416 1046 >>> ... ... ... ... >>> Spanish - Spain (Modern) es-es 0x0C0A 3082 >>> >>> Spanish - Spain (Traditional) 0x040A 1034 >>> -------------------------------------------------------------------- >>> >>> What are the LCIDs of the supported languages in WixUIExtension? >>> >>> -------------------------------------------------------------------- >>> Language Location Culture code WXL file LCID >>> -------------------------------------------------------------------- >>> ... ... ... ... ... >>> Korean Korea ko-KR WixUI_ko-KR.wxl (1042)? >>> ... ... ... ... ... >>> Portuguese Brazil pt-BR WixUI_pt-BR.wxl (1046)? >>> ... ... ... ... ... >>> Simplified Chinese China zh-CN WixUI_zh-CN.wxl (2052)? >>> ... ... ... ... ... >>> Spanish Spain es-ES WixUI_es-ES.wxl (3082)? >>> -------------------------------------------------------------------- >>> >>> Thanks, >>> Maksim. >>> >>> > ---------------------------------------------------------------------------- > -- >>> Gaining the trust of online customers is vital for the success of any > company >>> that requires sensitive data to be transmitted over the Web. Learn how > to >>> best implement a security strategy that keeps consumers' information > secure >>> and instills the confidence they need to proceed with transactions. >>> http://p.sf.net/sfu/oracle-sfdevnl >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>> >> > > ---------------------------------------------------------------------------- > -- > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users