[wix-users] WiX Localization bug in Light.exe ?
Alan Sinclair
anadem at gmail.com
Sat Aug 26 18:06:36 PDT 2017
Can WiX localize Japanese ?
I'm getting many unknown localization variables in the WixUI dialogs from
trying to build a Japanese msi:
light.exe -cultures:jp-JP -loc mystrings-jp-JP.wxl -ext WixUIExtension
-ext WixUtilExtension base.wixobj
*C:\build\work\eca3d12b\wix3\src\ext\UIExtension\wixlib*\ErrorDlg.wxs(9) :
error LGHT0102 : The localization variable !(loc.ErrorDlgErrorText) is
unknown. Please ensure the variable is defined.
C:\build\work\eca3d12b\wix3\src\ext\UIExtension\wixlib\ErrorDlg.wxs(10) :
error LGHT0102 : The localization variable !(loc.WixUIYes) is unknown.
Please ensure the variable is defined.
.. and many many more
This is run from the command line not Visual Studio. Weird part is that the
location *C:\build\work\eca3d12b\wix3* does not exist here .. so maybe
either there's a bug in light's Japanese culture support or I've missed
setting some environment variable or other support.
mystrings-jp-JP.wxl has this:
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="jp-jp" xmlns="
http://schemas.microsoft.com/wix/2006/localization">
In base.wxs I've got
<Product Language='1041' Codepage='932' ...>
<Package Languages='1041' SummaryCodepage='932' ...>
as recommended in the WiX Tutorial ("The Software Package" page)
The en-us and fr-fr packages both build OK, only difference being the
cultures and the mystrings files (using Language='1033' Codepage='1252' for
those).
More information about the wix-users
mailing list