php72-pear-Translation2-2.0.4,1.txz


Advertisement

Description

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

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest i386
Package filename php72-pear-Translation2-2.0.4,1.txz
Package name php72-pear-Translation2
Package version 2.0.4,1
Package release -
Package architecture i386
Package type txz
Category devel pear sysutils
Homepage https://pear.php.net/package/Translation2
License -
Maintainer joneum@FreeBSD.org
Download size 46.28 KB
Installed size 414.03 KB
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
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
php72-pear-Translation2-2.0.4,1.txz 2.0.4,1 i386 FreeBSD Ports Quarterly
php72-pear-Translation2-2.0.4,1.txz 2.0.4,1 amd64 FreeBSD Ports Quarterly
php72-pear-Translation2-2.0.4,1.txz 2.0.4,1 amd64 FreeBSD Ports Latest
php72-pear-Translation2 - - -

Requires

Name Value
php72 = 7.2.17_2
php72-pear = 1.10.6

Download

Type URL
Mirror pkg.freebsd.org
Binary Package php72-pear-Translation2-2.0.4,1.txz
Source Package sysutils/pear-Translation2

Install Howto

Install php72-pear-Translation2 txz package:

# pkg install php72-pear-Translation2

See Also

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