[ANNOUNCEMENT] Translation2-2.0.0alpha2 (alpha) Released.
| From: | PEAR Announce | Date: | Sun, 22 Feb 2004 20:45:32 +0000 |
| Subject: | [ANNOUNCEMENT] Translation2-2.0.0alpha2 (alpha) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10858@lists.php.net to get a copy of this message | ||
The new PEAR package Translation2-2.0.0alpha2 (alpha) has been released at http://pear.php.net/.
Release notes
-------------
- added an experimental GNU gettext driver
- translate() now accepts a third parameter ($pageID)
- PHP5 fix
- renamed old getPage() to getRawPage()
- new getPage() resorts to fallback lang and replaces parameters when needed
- added error checking/codes
Package Info
-------------
This class provides an easy way to retrieve all the strings for a multilingual site from a data
source (i.e. db).
A PEAR::DB, a PEAR::MDB and an experimental gettext container are provided, more containers will
follow.
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).
Related Links
-------------
Package home: http://pear.php.net/package/Translation2
Changelog: http://pear.php.net/package-changelog.php?package=Translation2
Download: http://pear.php.net/get/Translation2-2.0.0alpha2.tgz
Authors
-------------
Lorenzo Alberton <l.alberton@quipo.it> (lead)