I would like to develop a multilanguage page in PHP, for exemple english/german/japanese.. so when i click on german the page language will change to german, then i click en
We use the http://php.net/manual/en/intro.gettext.php way. Works fine and we all worked already with http://www.gnu.org/software/gettext/manual/gettext.html in other projects (non PHP projects). So it was easy to start.
I think the right way depends on who translates the text! If it's the developer(s) you can have for each language an own view. But if you have some other people translating the text, something like gettext (translation is in a dedicated file and there are tools to work with this kind of files) the right choice!