[ANNOUNCEMENT] Translation2-2.0.0beta2 (beta) Released.

From: Date: Mon, 04 Oct 2004 20:28:28 +0000
Subject: [ANNOUNCEMENT] Translation2-2.0.0beta2 (beta) Released.
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14755@lists.php.net to get a copy of this message
The new PEAR package Translation2-2.0.0beta2 (beta) has been released at http://pear.php.net/. Release notes ------------- - constructor is deprecated. Use factory instead. - added emptyPrefix and emptyPostfix options to the DefaultText decorator (can be used to mark empty strings) - don't pass objects by ref in the Decorator, as it's deprecated - better check for existing connections in the MDB and MDB2 drivers - fixed assignment of datobjects simple to empty string using default constructor in the dataobjectsimple driver (alan_k) - updated the example - fixed the db, mdb and mdb2 admin classes (bugs #2153 and #2248 and wrong check for non-existent langs_avail_table) - added a 'strings_default_table' parameter as a fallback table for translations Package Info ------------- This class provides an easy way to retrieve all the strings for a multilingual site from a data source (i.e. db). The following containers are provided, more will follow: - PEAR::DB - PEAR::MDB - PEAR::MDB2 - gettext - PEAR::DB_DataObject (experimental) It is designed to reduce the number of queries to the db, caching the results when possible. An Admin class is provided to easily manage translations (add/remove a language, add/remove a string). Currently, the following decorators are provided: - CacheLiteFunction (for file-based caching) - CacheMemory (for memory-based caching) - DefaultText (to replace empty strings with their keys) - Lang (resort to fallback languages for empty strings) - SpecialChars (replace html entities with their hex codes) Related Links ------------- Package home: http://pear.php.net/package/Translation2 Changelog: http://pear.php.net/package/Translation2/download/2.0.0beta2 Download: http://pear.php.net/get/Translation2-2.0.0beta2.tgz Authors ------------- Lorenzo Alberton <l.alberton@quipo.it> (lead)

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