I've notice that my index page is loaded 3 times on the server (but only once on my screen... see below why I'm sure of that).
You can have a look at my index.php there: http://pastebin.com/3JJUhsvF
Basically what I do in indexAI.php is set a couple of vars.
But if, right at th beginning of my index.php, I do mail("myAddress@myDomain.com", "", ICL_LANGUAGE_CODE);, I do receive 3 emails...
The default langauge of my site is french. But if I browse in english, the first email I get says 'en', and the next 2 say 'fr'. I know the fact that the language changes is a WPML problem, and I'm not posting for that here...
But I'd really like to know why, on the server my page is loaded 3 times, and the result on the screen is what has been processed the first time (because it's in english).
Here is the link where you can see the site being developped... If you click on "More" at the bottom of the page, you'll get some more content, but in french, as the language var has been changed from en to fr: http://espresso.double-espresso.com/en/
Thanks for your help!