diff options
author | edwin <edwin@FreeBSD.org> | 2004-12-22 06:28:29 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-12-22 06:28:29 +0800 |
commit | e59b9116130b70ac59b283e6a8fa663e8fd0af0a (patch) | |
tree | c24089300c3250492643da7fc26d785fc9034913 /sysutils/Makefile | |
parent | b309733b194e82e38dd8c52b8d369065af3aee73 (diff) | |
download | freebsd-ports-gnome-e59b9116130b70ac59b283e6a8fa663e8fd0af0a.tar.gz freebsd-ports-gnome-e59b9116130b70ac59b283e6a8fa663e8fd0af0a.tar.zst freebsd-ports-gnome-e59b9116130b70ac59b283e6a8fa663e8fd0af0a.zip |
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>
Diffstat (limited to 'sysutils/Makefile')
-rw-r--r-- | sysutils/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 264dccad9815..bc76433cd0b9 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -317,6 +317,7 @@ SUBDIR += pear-File_Gettext SUBDIR += pear-I18Nv2 SUBDIR += pear-Log + SUBDIR += pear-Translation2 SUBDIR += pecl-fileinfo SUBDIR += penv SUBDIR += perf |