New container for Pear::Translation2

From: Date: Tue, 12 Apr 2005 20:58:12 +0000
Subject: New container for Pear::Translation2
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18708@lists.php.net to get a copy of this message
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. http://webitecture.org/translator.phps The destructor's don't seem to work right and the package should really extend pear and use the pear destructors, but I haven't gotten around to changing it. It's about 95% complete. Enjoy Andrew

« previous php.pear.general (#18708) next »