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

Reply via email to