[ANNOUNCEMENT] Translation2-2.0.1 (stable) Released.

From: Date: Fri, 14 Nov 2008 16:29:35 +0000
Subject: [ANNOUNCEMENT] Translation2-2.0.1 (stable) Released.
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29427@lists.php.net to get a copy of this message
The new PEAR package Translation2-2.0.1 (stable) has been released at http://pear.php.net/. Release notes ------------- - fixed bug #13933: undefined variable in the dataobjectsimple driver - fixed bug #14323: wrong / no error from setLang() [cwiedmann] - fixed bug in getLangs(), where certain formats were not recognized - request #14979: fluent interface for setPageID() and setParams() and for setOption() and setOptions() decorator methods - request #15000: added SQL example in the /docs/examples dir 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 - XML - 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) - ErrorText (to replace empty strings with a custom error text) - Iconv (to switch from/to different encodings) - Lang (resort to fallback languages for empty strings) - SpecialChars (replace html entities with their hex codes) - UTF-8 (to convert UTF-8 strings to ISO-8859-1) Related Links ------------- Package home: http://pear.php.net/package/Translation2 Changelog: http://pear.php.net/package/Translation2/download/2.0.1 Download: http://download.pear.php.net/package/Translation2-2.0.1.tgz Authors ------- Lorenzo Alberton <l.alberton@quipo.it> (lead) Ian Eure (developer) Michael Wallner <mike@php.net> (developer)

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