Hi all,

I'm trying to localize a property so when I generate a MST that
property is correctly localized. I've read through the tutorial which
specifically mentions localizing strings that are part of dialogs.
What I'm trying to localize a string that will appear before any
dialog is shown (in a simple message box).

Here's what I tried to do:
1) In the installer.wxs project I set the relevant property to:
  <Property Id="PREVENT_DOWNGRADE"><![CDATA[New version is already
installed. Click OK to exit.]]></Property>

2) Modified the WiXUI language file (WixUI_de-de.wxl) by adding:
<String Id="PREVENT_DOWNGRADE">This is the German text for downgrades.</String>
I'm pretty sure it's not working because I'm including the locale in
the WiXUI language file. Can someone confirms this and what's the
correct way to do this?

3)
Compile: candle.exe installer.wxs -dlanguageCode=1031 -dcodePage=1252
Build:      light.exe -b C:\WiX\bin -out bin\mymsi_de-de.msi
installer.wixobj MAIN\ui\WixUI_custom.wixlib -loc
MAIN\ui\WixUI_de-de.wxl

Opening the German installer (mymsi_de-de.msi) still has the English
string. Any ideas would be greatly appreciated.

Thanks,
Alex G.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to