Re: I18N (New Class: Locale)
| From: | Tomas V.V.Cox | Date: | Tue, 12 Feb 2002 14:45:43 +0000 |
| Subject: | Re: I18N (New Class: Locale) | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4645@lists.php.net to get a copy of this message | ||
"Stig S. Bakken" wrote:
>
> On Mon, 2002-02-11 at 17:12, Naoki Shima wrote:
> > Most of PEAR classes return or print messages like error messages produced
> > by PEAR DB.
> > If these messages are translated into user's native language, I believe PEAR
> > would be more widely used.
> > What do you people think about this?
>
> I think that's a great idea, making translations easy was in fact one of
> the design goals in DB's error system.
>
I think that PEAR error is the place for supporting localizated error
messages, in a easy way for all the classes. Perhaps the simple solution
I took for HTTP_Upload could be taking for giving some ideas.
Tomas V.V.Cox