I would concur with Blair.  I also seem to remember the reasoning behind this 
was older supported operating systems (XP) didn't have an API to get the 
"friendly" names. (Ex: GetUserDefaultLangID vs GetUserDefaultLocaleName)

-----Original Message-----
From: Blair Murri [mailto:os...@live.com] 
Sent: Friday, June 28, 2013 2:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn - Localization Identifiers Duplicated

As I understand it, in the Name attribute you need to use the LCID instead of 
the culture name.
 
For instance: <Payload 
Sourcefile="$(var.ProjectDir)zh-tw\TraditionalChinese.wxl" 
Name="1028\Preqba.wxl" ... /> where 1028 is the LCID for the culture known as 
zh-tw.
 
Blair
 
> Date: Fri, 28 Jun 2013 11:30:52 -0700
> From: ma...@costar.ca
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Burn - Localization Identifiers Duplicated
> 
> OK, I have tried some different variations on Blair and Jacob's suggestions.  
> None have worked and there has been varying degrees of success.  The most 
> successful correctly displayed the default Preqba.wxl entries that I have 
> defined (which are in English but my regional settings are fr-CA) but did not 
> display the French file I have defined.  I will show you the code:
> 
>     <WixVariable Id="PreqbaThemeXml" Value="MyPReq.thm" />
>     <WixVariable Id="PreqbaThemeWxl" Value="Preqba.wxl" />
>     <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
>       <!-Some other unrelated payloads-->
>        .
>        .
>        .
>       <Payload SourceFile="$(var.ProjectDir)MyPReq.thm" 
> SuppressSignatureVerification="yes" />
>       <Payload SourceFile="$(var.ProjectDir)en-CA\EnglishCA.wxl" 
> Name="en-CA\Preqba.wxl" SuppressSignatureVerification="yes" />
>       <Payload SourceFile="$(var.ProjectDir)en-US\EnglishUS.wxl" 
> Name="en-US\Preqba.wxl" SuppressSignatureVerification="yes" />
>       <Payload SourceFile="$(var.ProjectDir)fr-CA\FrenchCA.wxl" 
> Name="fr-CA\Preqba.wxl" SuppressSignatureVerification="yes" />
>     </BootstrapperApplicationRef>
> 
> Then, in my project dir I have the 3 folders en-CA, en-US, fr-CA each with 
> the appropriate .wxl file as shown above.  They are all added to my project 
> and I have tried setting the .wxl files as EmbeddedResource and as Content 
> and they are all DoNotCopy.  In the Linker I have "-cultures:en-ca 
> -cultures:en-us -cultures:fr-ca"
> 
> Everything builds fine, it just displays the wrong language.
> 
> One more thing, when I configure it this way, there is some grayed out text 
> underneath one of my labels that is slightly different.  It is difficult to 
> read as my text is superimposed on top.  This had not previously occurred.  
> It is as though it is trying to show 2 different values simultaneously for a 
> localization variable.  Hmm... only did that once.  When I ran it again it 
> was normal (as far as the grayed out text).
> 
> 
> 
> From: Blair Murri-3 [via Windows Installer XML (WiX) toolset] 
> [mailto:ml-node+s687559n7586902...@n2.nabble.com]
> Sent: Wednesday, June 26, 2013 9:07 PM
> To: Mark Van Dyke
> Subject: Re: Burn - Localization Identifiers Duplicated
> 
> I think that the different language WXL files need to be in different 
> subfolders named after LCIDs in burn's payload.
> 
> Blair
> 
> 
> > Date: Wed, 26 Jun 2013 16:41:31 -0700
> > From: [hidden email]</user/SendEmail.jtp?type=node&node=7586902&i=0>
> > To: [hidden email]</user/SendEmail.jtp?type=node&node=7586902&i=1>
> > Subject: Re: [WiX-users] Burn - Localization Identifiers Duplicated
> >
> > In the bootstrapper project's Visual Studio properties, go to Tool 
> > Settings and enter the command-line args into the Linker text box.
> >
> >
> >
> > --
> > View this message in context: 
> > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-L
> > ocalization-Identifiers-Duplicated-tp7586776p7586899.html
> > Sent from the wix-users mailing list archive at Nabble.com.
> >
> > --------------------------------------------------------------------
> > ---------- This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]</user/SendEmail.jtp?type=node&node=7586902&i=2>
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> ----------------------------------------------------------------------
> -------- This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> WiX-users mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=7586902&i=3>
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> ________________________________
> If you reply to this email, your message will be added to the discussion 
> below:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Loc
> alization-Identifiers-Duplicated-tp7586776p7586902.html
> To unsubscribe from Burn - Localization Identifiers Duplicated, click 
> here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7586776&code=bWFya3ZAY29zdGFyLmNhfDc1ODY3NzZ8MTMzNzA0NTMxNw==>.
> NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/tem
> plate/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aem
> ail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.te
> mplate.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcru
> mbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3
> Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> 
> 
> 
> 
> --
> View this message in context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Loc
> alization-Identifiers-Duplicated-tp7586776p7586991.html
> Sent from the wix-users mailing list archive at Nabble.com.
> ----------------------------------------------------------------------
> -------- This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to