Re: How to effectuate translations
| From: | Rafael Mora | Date: | Sat, 30 Sep 2006 03:46:47 +0000 |
| Subject: | Re: How to effectuate translations | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242414@lists.php.net to get a copy of this message | ||
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 you think??
I know nothing about this, but I hope this help u
Rafa
On 9/29/06, AR <lists@tuxdoit.com> 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 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 Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php