il n'y a pas de règles...
personellement :
$text=array();
$text['en']=arra();
$text['en']['bienvenu']='welcome';
et j'appelles :
$text[$locale]['bienvenu'] pour afficher quelquechose...
$locale est définit à partir d'une variable dans $_SERVER
print_r($_SERVER);
ça t'aidera à trouver ce que tu cherches...
In a dream, I saw me, drop dead... U was here, U cried... It was just a deam, if I die, U won't cry, maybe, U'll be happy
[ Lien ]