[WiX-users] MBA localization

2013-10-10 Thread Phill Hogland
I have a MBA which I am trying to localize.  The MBA is structured like WixBA
in the Wix source.  The MBA has been functional until I tried to add
localization.  I installed the WPFLocalizationExtension and followed samples
from that site (https://wpflocalizeextension.codeplex.com/).  I am having a
problem which I described here:
https://wpflocalizeextension.codeplex.com/discussions/461709

I have not heard back on those posts so maybe someone here can provide
advice.

To boil it all down if I use the x:Static syntax then at runtime the
localized string is properly displayed.   But when using
WPFLocalizationExtension one should use the lex:loc syntax, which does not
work for me at runtime but does work in the 'design view'.

Additionally if I set the following code on a TextBlock element
Text="{lex:Loc Key=MyKey, Assembly=MyAssembly, Dict=Resources,
ForceCulture=de }"

The correct localized string is displayed.  But if I do

Text="{lex:Loc Key=MyKey, Assembly=MyAssembly, Dict=Resources }"

It always displays the 'neutral' string rather than localized string for the
OS I am running on.  But it is finding the 'neutral' string.

However the following does display the localized string for the culture set
on the test system.
Text="{x:Static props:Resources.QumuProduct}"  (where props: is the
application.properties)

I do have code in the ModelView which sets the XmlLanguage attribute based
on the threads currentUIculture.

Any advice would be appreciated.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/MBA-localization-tp7589650.html
Sent from the wix-users mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] MBA localization

2013-10-08 Thread Phill Hogland
I have a MBA which I modeled after the Wix installer code.  I am trying to
add localization to it.  I did a lot of reading on different approaches and
then installed NuGit and WPFLocalizationExtension.
http://wpflocalizeextension.codeplex.com/

I have this implemented like the sample that is at that site.  It builds all
of my satellite resource dlls, which are then imported into the bundle. 
When I look at the \.ba1 folder the expected file tree exists. 
  

  
  
  
  
  
  
  

  

However at runtime that strings are from the 'neutral' string dictionary.  I
have tested this on a fully localized Win 8 German and fully localized
English.  I have also tried adding code to the MBA to set the threads
Culture.  And I tried to set the xml:Lang of the RootView.xaml without
success.

I realize that this not a purely Wix question, but any pointers in solving
this issue would be appreciated.  How does one 'debug' XAML?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/MBA-localization-tp7589541.html
Sent from the wix-users mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users