php71-pear-Translation2-2.0.4,1.txz


Advertisement

Description

php71-pear-Translation2 - PEAR class for multilingual applications management

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Quarterly amd64
Package name php71-pear-Translation2
Package version 2.0.4,1
Package architecture amd64
Package type txz
Installed size 414.03 KB
Download size 46.30 KB
Official Mirror pkg.freebsd.org
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)
WWW: https://pear.php.net/package/Translation2
Categories: sysutils, devel, pear
Maintainer: joneum@FreeBSD.org
Options:
- PEAR_CACHE_LITE: off
- PEAR_DB: off
- PEAR_DB_DATAOBJECT: off
- PEAR_FILE_GETTEXT: off
- PEAR_I18NV2: off
- PEAR_MDB: off
- PEAR_MDB2: off
- PEAR_XML_SERIALIZER: off

Alternatives

Package Version Architecture Repository
php71-pear-Translation2-2.0.4,1.txz 2.0.4,1 i386 FreeBSD Ports Quarterly
php71-pear-Translation2-2.0.4,1.txz 2.0.4,1 i386 FreeBSD Ports Latest
php71-pear-Translation2-2.0.4,1.txz 2.0.4,1 amd64 FreeBSD Ports Latest
php71-pear-Translation2 - - -

Requires

Name Value
php71 = 7.1.24
php71-pear = 1.10.5_1

Download

Type URL
Binary Package php71-pear-Translation2-2.0.4,1.txz
Source Package sysutils/pear-Translation2

Install Howto

Install php71-pear-Translation2 txz package:

# pkg install php71-pear-Translation2

See Also

Package Description
php71-pear-UDDI-0.2.4.txz PEAR UDDI for PHP
php71-pear-URI_Template-0.3.3.txz Parser for URI Templates
php71-pear-VFS-0.3.0.txz PEAR Virtual File System API
php71-pear-Validate-0.8.5_1.txz PEAR Validation class
php71-pear-Validate_AU-0.1.4_1.txz PEAR data validation class for Australia
php71-pear-Validate_Finance-0.5.6.txz PEAR Finance Validation class
php71-pear-Validate_Finance_CreditCard-0.6.0.txz PEAR CreditCard Validation class
php71-pear-Validate_ISPN-0.6.1.txz Validation class for ISPN (International Standard Product Numbers)
php71-pear-Validate_US-0.5.5.txz PEAR data validation class for US
php71-pear-Var_Dump-1.0.4_1.txz Provides methods for dumping structured information about a variable
php71-pear-VersionControl_Git-0.5.0.txz OO interface to handle Git repository
php71-pear-VersionControl_SVN-0.5.2.txz Wrapper interface for the Subversion command-line client
php71-pear-XML_Beautifier-1.2.2.txz PEAR class to format XML documents
php71-pear-XML_DTD-0.5.2.txz Parsing of DTD files and DTD validation of XML files
php71-pear-XML_Feed_Parser-1.0.5.txz Providing a unified API for handling Atom/RSS
Advertisement
Advertisement