# Creating English/French switch

**URL:** <https://forum.kirupa.com/t/creating-english-french-switch/60804>\
**Category:** flash\
**Created:** [August 12, 2004, 7:01pm UTC](https://forum.kirupa.com/t/creating-english-french-switch/60804 "2004-08-12T19:01:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoddo](https://avatars.discourse-cdn.com/v4/letter/z/8e7dd6/32.png) [@zoddo](https://forum.kirupa.com/u/zoddo)\
**Post date:** [August 12, 2004, 7:01pm UTC](https://forum.kirupa.com/t/creating-english-french-switch/60804/1 "2004-08-12T19:01:30Z")

</div>

Hi all  
I was thinking about adding another language to the site i’m working on, and i was wondering what would be the best way to create a “Language Switch” (for ex. English to French and vice-versa)?  
I tought that create two XML file (one english, one french), with the same node’s structure would be a good idea, and the make a side menu with something like that:  
on (release) {  
xmlData = new XML();  
xmlData.ignoreWhite = true;  
xmlData.onLoad = loadXML;  
xmlData.load(“english.xml”);  
}

and in the 1st movie frame there would be the link to textfields and respective nodes.

would that work (it seems too simple to be true…)? what else should I think of? what would you do if you would have to create one such thing?

- zod

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 12, 2004, 7:04pm UTC](https://forum.kirupa.com/t/creating-english-french-switch/60804/2 "2004-08-12T19:04:32Z")

</div>

And you’ll have to reassign the content into the textfields/buttons/mcs.
