PHP Classes

l10n: Retrieve internationalization texts from JSON file

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 355 All time: 6,955 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: France, Metropolitan

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

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

  Files folder image Files (6)  /  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 (6)  /  lang  
File Role Description
  Plain text file lang_en.ini Data English lang file.
  Plain text file lang_fr.ini Data French lang file.

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:355
This week:0
All time:6,955
This week:560Up