LCID values are not automatically transferred from the culture's name to the
different places in the MSI database where it may be needed. There are some
LCID values defined in .NET that don't work on all platforms (and even a
couple places where the LCID in native code and the value used in .NET don't
match). Microsoft provides lists of supported LCIDs for its different
platforms at its global-dev site.

As a result, it is standard practice to either have the setup author
directly provide the LCID or to supply it via your own WXL files (using the
"!(loc.LCID)" convention). WiX doesn't define any LCID values in any of its
.wxl files and only ships an "en-US" package of WiX itself.

Note that workstation platforms sometimes support several LCIDs that server
platforms don't, and that because WiX uses Windows Installer (msi.dll) when
building MSI and similar files, your choice of LCIDs must be supported both
on the platform you are targeting AND on the platform you are building on.
Also there are so-called language-neutral LCIDs that are sometimes not
supported on either older platforms or at all (LCID values that are less
than 0x200 or 512 decimal).

I think that a good feature request for WiX 4.0 would be to have reasonable
default LCID values be supplied for each culture that a translation is
provided for in the toolset.

The WiX-supplied WXL files do (at least in the ones I spot-checked) supply
code-page values, so that is one less thing you have to supply.

Blair

-----Original Message-----
From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com] 
Sent: Tuesday, January 11, 2011 2:31 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] LCIDs of the supported languages of WixUIExtension

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

Reply via email to