Re[2]: [PEAR-DEV] New class in PEAR: Translation
| From: | Nicolas Hoizey | Date: | Tue, 01 Oct 2002 11:32:41 +0000 |
| Subject: | Re[2]: [PEAR-DEV] New class in PEAR: Translation | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9741@lists.php.net to get a copy of this message | ||
Hi,
> To get a translated string, I´d simply do something like this:
> $trans = $t->get("Translation is good");
> [...]
> The "get" method will look up the string in a database table
I think it would need a cache per page/script system to limit
ressources needs.
-Nicolas
--
Nicolas "Brush" HOIZEY
Free PHP projects http://www.phpheaven.net
Veille tous azimuts http://www.gasteroprod.com
Clever Age http://www.clever-age.com