multilanguage site : how do you do? Site multilangue comment faites-vous?

From: Date: Thu, 05 Oct 2006 13:16:37 +0000
Subject: multilanguage site : how do you do? Site multilangue comment faites-vous?
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32926@lists.php.net to get a copy of this message
Hello, I'm French so excuse me for my english :o) I would like to know how you do to make a multilanguage site with a web adress like that : http://www.php.net/manual/*fr*/index.php for french http://www.php.net/manual/*en*/index.php for english http://www.php.net/manual/*es*/index.php for spanish .... I know there is some differents method : - XSL/XML -PHP -etc I use PHP with differents files for the differents language : fr.php / en.php /es.php and I call the file I need. I can't have only 1 file for each language because they will be too big so I'm forced to have a PHP file in each folder of my site. So how I can have the name of the language on the web adress ? Please help me. Thanks you in advance. ****************************************************************************************************************************** Bonjour, Je voudrais savoir comment vous faîtes pour avoir une adresse Internet comme ça : http://www.php.net/manual/*fr*/index.php for french http://www.php.net/manual/*en*/index.php for english http://www.php.net/manual/*es*/index.php for spanish .... Je sais qu'il existe plusieurs méthode : - XSL/XML -PHP -etc J'utilise PHP avec des fichiers differents selon la langue utilisé : fr.php / en.php /es.php et j'appelle ensuite le fichier dont j'ai besoin. Je ne peux pas avoir 1 seul fichier pour chaque langue car il serait trop gros donc je suis obligé d'avoir un fichier PHP pour chaque dossier du site. Donc comment pourrais-je faire pour afficher le nom de la langue dans la barre d'adresse? S'il vous plaît, aidez moi. Merci d'avance.

« previous php.mirrors (#32926) next »