Re: I18N for PEAR (before Language class for PEAR?)
| From: | Stig S. Bakken | Date: | Sat, 09 Feb 2002 22:19:28 +0000 |
| Subject: | Re: I18N for PEAR (before Language class for PEAR?) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4531@lists.php.net to get a copy of this message | ||
On Sat, 2002-02-09 at 18:30, Wolfram Kriesing wrote:
> On Friday 08 February 2002 19:57, Stig S. Bakken wrote:
> > I think "I18N" would be a better name for such a class, that would
> > give room for more locale stuff too (currency, number/date format,
> > etc.)
>
> ok, so would a structure like this be ok?
> - I18N
> +- Language
> +-Common
> +-Translate
> +- DB (translation source class)
> +- XML
> +- (maybe) gettext
> +- Currency
> +- Format (date, number, etc. formatting classes)
> +- ...and what ever else comes along...
What about borrowing the structure of unix locales? (LC_*):
I18N
+-I18N_Messages
+- I18N_Messages_Common
+- I18N_Messages_Translate ...
+-I18N_Money
+-I18N_Numbers
+-I18N_Time
+-I18N_Paper
+-I18N_Telephone
etc.
- Stig
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc