Oops, sorry, I meant (without the extraneous blank character):
<Property Id="PREVENT_DOWNGRADE">$(loc.PREVENT_DOWNGRADE)</Property>
Note, you would then also need an English translation .wxl file as well
for English strings.
Jim
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim
Williams
Sent: Friday, April 25, 2008 10:48 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Localizing properties in WiX 2.0
Wouldn't you need to change your code to:
<Property Id="PREVENT_DOWNGRADE">$(loc. PREVENT_DOWNGRADE)</Property>
Jim Williams
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex G
Sent: Friday, April 25, 2008 9:42 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Localizing properties in WiX 2.0
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/j
avaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
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