Re: [PHP] How to effectuate translations

2006-10-02 Thread Richard Lynch
My Parrot sez: I think gettext is the answer to your question. I have no direct knowledge of this. On Fri, September 29, 2006 10:38 pm, AR wrote: Hi, I'm coding this software that has several files for several languages, so that users can chose the one that suits him. My question is what

[PHP] How to effectuate translations

2006-09-29 Thread AR
Hi, I'm coding this software that has several files for several languages, so that users can chose the one that suits him. My question is what is the best way to integrate this in the PHP code, i. e., to make it work. Any help would be appreciated. Warm regards, Augusto Reis -- PHP General

Re: [PHP] How to effectuate translations

2006-09-29 Thread Rafael Mora
Hi!, well u can write ur messages in differents files, and like a make a class where u can put a method like getMessage($_type), this class could contains the language already selected, and just load the messages for that language in a array(or another easy to use PHP data structure). What do