Re: Error Codes, Langs, etc
| From: | Sascha Schumann | Date: | Tue, 26 Nov 2002 04:28:58 +0000 |
| Subject: | Re: Error Codes, Langs, etc | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91643@lists.php.net to get a copy of this message | ||
> cats or gettext comes to mind.
Neither are usable, though, because PHP would need to support
multiple concurrent message catalogues on a per-thread base.
gettext/catgets associate exactly one language with each
process through the use of environment variables, so that
they cannot be used in a multi-threaded server.
A mechanism based on the bundled cdb, for example, would be
superior in terms of speed, thread-safeness, and portability.
- Sascha