Well I got it working.  As posted earlier I added a modified
HyperlinkTheme.xml to my 1031 subfolder, and originally I added this Payload
statement:

"
<Payload Id="themeXml_de_de" Compressed="yes"  Name="1031\thm.xml"
SourceFile="theme\1031\HyperlinkTheme.xml"/>
"

The bundle project builds but when run it does not display any dialog and
the log file shows error creating the main window (as reported in the other
thread referenced).

The correct solution at that point is to add the logo.png file to the 1031
folder and add:
<Payload Id="logo_de_de" Compressed="yes"  Name="1031\logo.png"
SourceFile="theme\1031\logo.png"/>

Now when -lang 1031 is used the dialog has the changes which were made in
the 1031 version of the XML file (and in looking at the source code I did
not see anything that would select the language file based on the
users/systems default language.

Prior to doing the above I took the unnecessary side track of changing the
Payload to:
"
<Payload Id="themeXml_de_de" Compressed="yes" 
Name="1031\HyperlinkTheme.xml" SourceFile="theme\1031\HyperlinkTheme.xml"/>"

I can see in the code where it is expecting thm.xml, but I did not read all
the way through.  What it does in ProcessMon is it tries to load
1031\Thm.xml which did not exist, and then it tries to load
1031\hyperlinkTheme.xml and seems to succeed, but the dialog does not
reflect the 1031\HyperlinkTheme.xml.  However by using the
Name="1031\thn.xml" it all works.

I might also comment that prior to working with the localization I had set
my LogoFile attribute to import a .bmp file, and removed the logo.png file
from my project.  So if I go back and convert my bmp to a png file named
logo.png it might be a simpler scenario since the XML files have the
logo.png name in the XML file.

So all in all it seems to work and I can get the files translated when we
submit other projects for translation.  Thanks for the help.  Phill




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

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&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