Re: New container for Pear::Translation2
| From: | Lorenzo Alberton | Date: | Wed, 13 Apr 2005 19:21:33 +0000 |
| Subject: | Re: New container for Pear::Translation2 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18736@lists.php.net to get a copy of this message | ||
Hi Andrew,
Lorenzo, I have attached a class that I have written following the pear standards to handle translations for an international site I am in the middle of building. Instead of keeping the translations in a database or text file, I store the translations in a PHP array. The class then edits the file that holds the array of translations so that it is completely manageable as well as fast loading. I hope that you can add this to the translation2 package as another container option.I'd be glad to add a php-array container, but it must be Translation2-compatible. Can you look at the other containers and write a compatible one? TIA Regards, -- Lorenzo Alberton http://pear.php.net/user/quipo