Multilingual AMS App

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Byte
    Forum Member
    • Jun 2005
    • 74

    Multilingual AMS App

    Hi,

    is there a easy way to make a AMS App. multilungual?

    one file for each language and then define variables for all the text, buttons, labels,...

    or is it better to do it with tables?

    advantage of the files is, that users can do theire own translations.

    byte
  • yosik
    Indigo Rose Customer
    • Jun 2002
    • 1858

    #2
    You could definitely do it,. Either use an XML file, or an ini file (or multiple files). Then build and populate a table with the entries/values of xml/ini. Last, give your objects attributes (mainly text) according to your table elements.
    :yes

    Yossi

    Comment

    • Stefan_M
      Indigo Rose Customer
      • Nov 2003
      • 315

      #3
      Hi Byte,

      i'm using the "dofile" action to load the Translation file.

      See page "LangSelection", "On Close"

      The translation file contains only variable assignments.


      Stefan_M
      Attached Files
      "With a rubber duck, one's never alone."

      Douglas Adams, The Hitchhiker's Guide to the Galaxy

      Comment

      • Byte
        Forum Member
        • Jun 2005
        • 74

        #4
        hi,

        here is my example for a multilinual app.
        a couple things i can't get to work.
        i want the menu to be checked depending on the value in the ini-file, so i tryed that on page 1 in the onshow event. doesn't work.
        also i want the page to show the other language when it is changed in the menu. i have no idea how to do that.

        i hope there is someone that can help me on that.

        byte
        Attached Files

        Comment

        • Byte
          Forum Member
          • Jun 2005
          • 74

          #5
          ok got it fixed.

          also the app adds a menu-item when a translation file is added to the language-folder. this way users can do theire own translations and just copy them to the translation-folder.

          maybe this is not the exact way to do such a app, but for now it works.
          i would appreciate it, if someone can have a look at it and tell me, if it can be done in a better way.

          byte
          Attached Files

          Comment

          • yosik
            Indigo Rose Customer
            • Jun 2002
            • 1858

            #6
            Byte,
            A nifty job! Well done!
            What I like about your approach is the dynamics of the project, accepting new languages "on the fly".
            :yes
            Yossi

            Comment

            • Byte
              Forum Member
              • Jun 2005
              • 74

              #7
              hi,

              i changed it again, so now the menu language changes also

              byte
              Attached Files

              Comment

              Working...
              X