Setup Project

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • James Wong

    #1

    Setup Project

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


  • Norman Chong

    #2
    Re: Setup Project


    James Wong wrote:
    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(<CurrentCont rol.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...

    Comment

    • James Wong

      #3
      Re: Setup Project

      Hi Norman,

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

      James


      "Norman Chong" <normanchong@fr eenet.de>
      ???????:1169456 875.188919.6016 0@m58g2000cwm.g ooglegroups.com ...
      >
      James Wong wrote:
      >
      >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(<CurrentCont rol.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...
      >

      Comment

      Working...