PHP Classes

l10n: Retrieve internationalization texts from JSON file

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 355 This week: 1All time: 6,947 This week: 560Up
Version License PHP version Categories
l10n 0.2GNU Lesser Genera...3.0Localization
Description 

Author

This class can be used to retrieve application internationalization texts from a JavaScript Object Notation (JSON) files.

It can read files in the JSON files that define arrays that associate original texts to translated texts in a given language.

The translated texts are stored in a class array variable to be retrieved wherever they are needed.

Picture of LAURENT Romain
Name: LAURENT Romain <contact>
Classes: 1 package by
Country: ???
Age: 41
All time rank: 3676
Week rank: 411 Up

Screenshots  
  • example.gif
  Files folder image Files  
File Role Description
Files folder imageclass (1 directory)
Files folder imagelang (2 files)
Plain text file example.php Example Example

  Files folder image Files  /  class  
File Role Description
Files folder imageutils (2 files)

  Files folder image Files  /  class  /  utils  
File Role Description
  Plain text file JSON.php Class The JSON class.
  Plain text file l10n.class.php. Class Classe de localisation à partir de fichier JSON

  Files folder image Files  /  lang  
File Role Description
  Plain text file lang_en.ini Data English lang file.
  Plain text file lang_fr.ini Data French lang file.

 Version Control Unique User Downloads Download Rankings  
 0%
Total:355
This week:1
All time:6,947
This week:560Up