Commit graph

3 commits

Author SHA1 Message Date
Alex Dupre
4e3717ee4f Remove pear ports obsolated by devel/pear and switch
dependencies of all the other pear ports.

Discussed with:	thierry, antonio@php.net
2005-12-09 19:24:52 +00:00
Edwin Groothuis
99b2b62f22 Update port: sysutils/pear-Translation2 to 2.0.0beta6
+ update port: sysutils/pear-Translation2 to 2.0.0beta6
	  + changelog: http://pear.php.net/package/Translation2/download/2.0.0beta6/
	+ add TESTS
	+ fix DEPENDS

PR:		ports/76911
Submitted by:	Antônio Carlos Venâncio Júnior <antonio@php.net>
2005-02-02 12:24:09 +00:00
Edwin Groothuis
59bd1c806e New port: sysutils/pear-Translation2 PEAR class for multilingual applications management
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)
	- 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)

PR:		ports/75303
Submitted by:	Antônio Carlos Venâncio Júnior <antonio@php.net>
2004-12-21 22:28:29 +00:00