PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2016-10-31 (3 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 154 All time: 8,701 This week: 426Up
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.

  Performance   Level  
Name: Lukasz Józwiak <contact>
Classes: 4 packages by
Country: Poland Poland
Age: 41
All time rank: 263063 in Poland Poland
Week rank: 645 Up15 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  
 0%
Total:154
This week:0
All time:8,701
This week:426Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:93%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:456
 
nice
3 years ago (muabshir)
70%StarStarStarStar