I18N Feature addition
| From: | Yavor | Date: | Wed, 06 Nov 2002 18:01:58 +0000 |
| Subject: | I18N Feature addition | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-10506@lists.php.net to get a copy of this message | ||
Hi,
am playing with I18N package. I need to get the string in key => value pairs, is it possible to
add such a feature.
this is what am using currently
$strings = $translate->getAll($lang);
foreach($strings as $string){
$newstrings[$string['string']] = $string['translated'];
}
I need to get something like the DB::getAssoc functionality, is this feasible. I could make the
add-on if approved
Yavor