Intl like gettext: Translate texts from arrays, PO files or JSON

Recommend this page to a friend!
  Info   View files Example   Demos   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 69%Total: 165 All time: 8,768 This week: 246Up
Version License PHP version Categories
intl 1.5.4The PHP License5Localization, PHP 5, Templates
Description Author

This class can translate application texts from arrays, PO gettext or JSON.

It can auto detect the user preferred languages and load translation files in JSON format, PHP scripts with arrays of strings, or using gettext extension to load PO translation files.

It can also format strings with placeholders %named_value to translated string 'named_value'.

The class can also plurals from gettext in po file or array.

Picture of Lukasz Józwiak
  Performance   Level  
Name: Lukasz Józwiak <contact>
Classes: 4 packages by
Country: Poland Poland
Age: 43
All time rank: 263063 in Poland Poland
Week rank: 550 Up16 in Poland Poland Up

  Intl on php 5.2External page  

Open in a separate window

  Files folder image Files  
File Role Description
Files folder imagelanguages (4 files)
Plain text file Intl.php Class Simple strings translation class like gettext with plural
Accessible without login Plain text file test.php Example usage example

  Files folder image Files  /  languages  
File Role Description
  Accessible without login Plain text file pl.json Data json plural strings
  Accessible without login Plain text file pl.php Conf. polish strings in php
  Accessible without login Plain text file pl.po Data Polish po getext file
  Accessible without login Plain text file ru.json Data rusian strings in json

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,768
This week:246Up
User Ratings User Comments (1)
 All time
4 years ago (muabshir)
For more information send a message to info at phpclasses dot org.