Re: I18N for PEAR (before Language class for PEAR?)

From: Date: Sun, 10 Feb 2002 20:21:11 +0000
Subject: Re: I18N for PEAR (before Language class for PEAR?)
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4575@lists.php.net to get a copy of this message
On Sun, 2002-02-10 at 02:11, Wolfram Kriesing wrote: > On Saturday 09 February 2002 23:19, Stig S. Bakken wrote: > > 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 > > I think the structure you suggested is ok. > BTW what does I18N_Paper do? Paper sizes etc.? Yeah. > Can I get started :-) Sure. Did you see Naoki Shima <murahachibu@php.net>'s post about "PHP Locale"? Maybe someone to cooperate with? - Stig

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.pear.dev (#4575) next »