The way the language detection works in WiX is to search for a language 
matching the full language ID and if that isn't present it searches the primary 
language and then defaults to US English - so if you support Spanish but not 
Mexican then Spanish is selected. I am wondering if you could set your LCID for 
the transform to a value from the burn localisation file, that way the fall 
back would work as you expect.

Neil

-----Original Message-----
From: Phill Hogland [mailto:phogl...@rimage.com] 
Sent: 12 August 2013 19:59
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] multi-language bundle - A BIG THANKS

Yes, we support seven languages.  If I pass UserLanguageID or SystemLanguageID 
in my var "LCID" and then pass it as a property to the MSI package in the form 
of TRANSFORMS=LCID.mst all is well for the supported languages, however an 
unsupported language results in an error because the transform does not exist.  
I have two msi packages in my chan which have a different set of 'supported' 
transforms.  I like your approach and will check it out.  I added the 
BAFunction.dll into the project (which meant I had to change to the extended 
bootstrapper), late last week.  I plan to read the LCID var and then limit the 
range of LCIDs that I pass to each Msi package.  Also if a user has a 'related' 
language we default to the nearest supported language.  We support 1034 
(Spanish) and when we detect Mexican or any other variant of Spanish we default 
to 1034 (rather than defaulting to English).  This is standard behavior in our 
existing InstallScript projects. 
So I am working on implementing similar behavior with WiX.  I am going to try 
out WiX 3.8 and I may still need to do some 'custom' processing of the property 
before passing it to the MSI.  But thanks for telling me about how you used 
MsiPackage/@InstallCondition to address this issue.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587949.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to