Re: [PATCH] Redirect on Error
| From: | Maxim Maletsky | Date: | Tue, 26 Nov 2002 10:41:07 +0000 |
| Subject: | Re: [PATCH] Redirect on Error | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91683@lists.php.net to get a copy of this message | ||
marcus.boerger@t-online.de (Marcus Börger) wrote... :
> WE can use cdb (constant databse) which is very fast and we have the code
> bundled now.
> The documnet group might want work on error messages XML based. We may
> write a script
> wich will generate a cdb file from that XML file.
I thought af it - I think this can be one of the best solutions.
> However i would VERY MUCH appreciate having english error messages hard coded
> into the source. AND those i18n error messages only activateable by an ini
> setting.
I disagree. Leaving english comments in C code is obvious, but the
errors that get printed to user's screens should be out of C code.
I know, it will hassle some lazy us while coding, but nevertheless, it
will help documentation ppl to translate errors easlier without knowing
how extensions are set :)
I also think that error messages will be tranlated much shorter as they
inspire more translators to work on. They's "cool" :)
--
Maxim Maletsky
maxim@php.net