Setup Project

  • Thread starter Thread starter James Wong
  • Start date Start date
J

James Wong

Can I build one Setup Project with different language?
e.g. English, German, Chinese, Japanese...
 
James said:
Can I build one Setup Project with different language?
e.g. English, German, Chinese, Japanese...

Hi,

Just an idea: Store the language (Captions of controls, texts, ...) in
XML files (e.g. English.xml, German.xml, ...). Give every node an
attribute which contains the name of the control it refers
(id="cmdButton1"). Let the user choose the language, load the file and
get the captions via the names from the file.

Example:
myControls = <AllControls>
For each <CurrentControl> in myControls
if(<CurrentControl.Name> = <FileID>) Then
<CurrentControl.Text> = <File.InnerText>
End if
Next

I haven't tested this and I don't know if there's a better way, but it
should work...
 
Hi Norman,

My problem is different language in Installation Wizard when I run the
Setup.exe.
Thanks.

James
 
Back
Top