RE: [PEAR-DEV] I18N for PEAR (before Language class for PEAR?)

From: Date: Mon, 11 Feb 2002 11:17:35 +0000
Subject: RE: [PEAR-DEV] I18N for PEAR (before Language class for PEAR?)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4594@lists.php.net to get a copy of this message
>-----Original Message----- >From: Wolfram Kriesing [mailto:lists@kriesing.de] >(can someone please forward that, since my mails are always rejected >by the list :-( ) I think that is because your e-mail address in FROM field contains "mailto:" >There are a lot of defines (the iso codes) for this I18N stuff, how >can we best do that? >1.we can define all the iso-codes in a file, like: array( >'en'=>'english', ... ) and array('en_US'=>'american >english', ...), >etc. >This will make the php-code quite big. And not all variables are >needed all the time. This might be a performance issue, or not? >(Where are the PHP-core experts :-) ) I have already done that in Locale_Language which contains contain ISO 639-1 code to Language name mapping. It is defined in array. Also, Locale_Country contains ISO-3166 code to Country name mapping. see: http://phplocale.sourceforge.net/ Naoki Shima murahachibu@php.net

« previous php.pear.dev (#4594) next »