Section A.15. Internationalization

A.15. Internationalization

I18N related packages

A.15.1. fribidi

Repository: PECL - License: PHP - By Tal Peer (lead)

Implementation of the Unicode BiDi algorithm

A.15.1.1 Description

A PHP frontend to the FriBidi library: an implementation of the unicode Bidi algorithm, provides means for handling right-to-left text.

A.15.2. I18N

Repository: PEAR - License: PHP - By Wolfram Kriesing (lead) - Richard Heyes (developer)

Internationalization package

A.15.2.1 Description

This package supports you to localize your applications. Multiple ways of supporting translation are implemented and methods to determine the current users (browser-)language. Localizing Numbers, DateTime and currency is also implemented.

A.15.3. I18Nv2

Repository: PEAR - License: PHP - By Michael Wallner (lead) - Lorenzo Alberton (contributor)


A.15.3.1 Description

This package provides basic support to localize your application, like locale based formatting of dates, numbers and currency. Beside that it attempts to provide an OS independent way to setlocale() and aims to provide language and country names translated into many languages.



As I'm not able to dig through all locales of the world, any contribution of locale dependent information is very wellcome!

There's very need of people contributing:

  • locale dependent date/time formatting conventions

  • translations and reviews of country names (I18Nv2_Country)

  • translations and reviews of language names (I18Nv2_Language)

Just browse the CVS sources at and see if your language or locale is already fully covered.

A.15.4. idn

Repository: PECL - License: PHP - By Johannes Schlüter (lead)

GNU Libidn

A.15.4.1 Description

Binding to the GNU libidn for using Internationalized Domain Names.

A.15.5. Translation

Repository: PEAR - License: PHP License - By Wojciech Zieliski (lead) - Lorenzo Alberton (lead)

Class for creating multilingual websites.

A.15.5.1 Description

Class allows storing and retrieving all the strings on multilingual site in a database. The class connects to any database using PEAR::DB extension. The object should be created for every page. While creation all the strings connected with specific page and the strings connected with all the pages on the site are loaded into variable, so access to them is quite fast and does not overload database server connection.

A.15.6. Translation2

Repository: PEAR - License: PHP License - By Lorenzo Alberton (lead)

Class for multilingual applications management.

A.15.6.1 Description

This class provides an easy way to retrieve all the strings for a multilingual site from a data source (i.e. db). A PEAR::DB, a PEAR::MDB and an experimental gettext container are provided, more containers will follow. 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).

    PHP 5 Power Programming
    PHP 5 Power Programming
    ISBN: 013147149X
    EAN: 2147483647
    Year: 2003
    Pages: 240

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: