Localisation

I am trying to implement localisation so txts get displayed in Ger or Eng after the user presses the corresponding button.

To complete this I am looking for two pieces of code:

  1. code that saves Eng or Ger global variable when the user makes a selection by pressing the corresponding button.

  2. code that loads the xmls into the txt fields from a selection in my menu. Something like " if the variable is Eng load the xml from the following path, if it is german load it from the other path"

The macromedia tech notes have not helped me solve this and I would be extremely greatful if someone could either paste the code needed or guide me to a source that explaines exactly how to do this

THX