From owner-cvs-all@FreeBSD.ORG Tue Dec 21 22:28:29 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8571116A4CE; Tue, 21 Dec 2004 22:28:29 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5898743D58; Tue, 21 Dec 2004 22:28:29 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBLMSTnY085562; Tue, 21 Dec 2004 22:28:29 GMT (envelope-from edwin@repoman.freebsd.org) Received: (from edwin@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBLMSTHt085561; Tue, 21 Dec 2004 22:28:29 GMT (envelope-from edwin) Message-Id: <200412212228.iBLMSTHt085561@repoman.freebsd.org> From: Edwin Groothuis Date: Tue, 21 Dec 2004 22:28:29 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/sysutils Makefileports/sysutils/pear-Translation2 Makefile distinfo pkg-descr X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 22:28:29 -0000 edwin 2004-12-21 22:28:29 UTC FreeBSD ports repository Modified files: sysutils Makefile Added files: sysutils/pear-Translation2 Makefile distinfo pkg-descr Log: 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 Revision Changes Path 1.606 +1 -0 ports/sysutils/Makefile 1.1 +96 -0 ports/sysutils/pear-Translation2/Makefile (new) 1.1 +2 -0 ports/sysutils/pear-Translation2/distinfo (new) 1.1 +23 -0 ports/sysutils/pear-Translation2/pkg-descr (new)