0 Replies Latest reply on Apr 19, 2007 7:31 AM by Blue_Pixel

    Multilanguage website in Flex 2

    Blue_Pixel
      Hello,

      I'm trying to develop a multi-language website in Flex 2. As a solution, I think I should use an external .xml file (for example: language/languages.xml) to keep the labels, texts etc for each control that I use in my website. The xml file looks like this:
      <languages>
      <language>
      <name>
      en
      </name>
      <firstPanelText>
      Date:
      </firstPanelText>
      <secondPanelText>
      Name:
      </secondPanelText>
      </language>
      <language>
      <name>
      fr
      </name>
      ...
      </languages>

      The question is how can I add the right name from the right language for each control I have? I want to make some buttons for each language that exists in the .xml file and when I press it, the language in my site must change.
      Please give me suggestions.
      Thank you,
      Tudor