Login   Register  
PHP Classes

i18n: Get translations texts from XML files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-02-28 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,313 This week: 1All time: 2,742 This week: 1,164Up
Version License Categories  
i18n 1.0GNU General Public Lice...XML, Localization, PHP 5
Description Author  

This class can be used to get texts for use in an internationalized application using XML files.

The class can parse the respective XML file for the currently chosen idiom and retrieve texts given a path specification of the XML tags that enclose the requested texts.

The translation texts may contain special variable placeholders that may be replaced by parameter values.

Picture of Julien PACHET
Name: Julien PACHET <contact>
Classes: 15 packages by
Country: France France
Age: 38
All time rank: 261 in France France
Week rank: 227 Down11 in France France Down

  Files folder image Files  
File Role Description
Plain text file class_i18n.inc.php Class class file in php5
Accessible without login Plain text file example.php Example example script
Accessible without login Plain text file fr_example.php.xml Data xml text in french
Accessible without login Plain text file outils_xml.inc.php Aux. xml functions
Accessible without login Plain text file uk_example.php.xml Data xml text in english

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,313All time:2,742
 This week:1This week:1,164Up