Hi, In my WiX project (VS2010) I added two localization files: en-us.wxl and es-es.wxl. Each defines a string like:
en-us.wxl : <?xml version="1.0" encoding="utf-8"?> <WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization"> <String Id="LocaleId">1033</String> </WixLocalization> es-es.wxl : <?xml version="1.0" encoding="utf-8"?> <WixLocalization Culture="en-es" xmlns="http://schemas.microsoft.com/wix/2006/localization"> <String Id="LocaleId">1034</String> </WixLocalization> In the Prodcut.wxs file, I use the localization variable "LocaleId" as follows: <Product Id="$(var.ProductId)" Name="$(var.ProductName)" Language="!(loc.LocaleId)" Version="$(var.Release).$(var.Mor).$(var.Build).0" Manufacturer="$(var.ProductManufacturer)" UpgradeCode="$(var.UpgradeCode)"> In VS Project properties ->Build -> Cultures to Build specified: es-es;en-us When I build the project, it shows the following error: "The localization variable !(loc.LocaleId) is unknown. Please ensure the variable is defined. " What is missing here? I am using WiX 3.8 and my product uses standard dialog set from WiX UI Extension. Please help. Thanks, Uday -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/error-LGHT0102-The-localization-variable-is-unknown-tp7596940.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users