Login   Register  
PHP Classes
elePHPant
Icontem

Language Class: Get application translation texts from PHP scripts

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 (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-01-03 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 833 This week: 1All time: 3,841 This week: 1,534Up
Version License PHP version Categories  
language-by-tag 1.0Freeware5.0Localization, PHP 5
Description Author  

This class can get application translation texts from PHP scripts.

It can determine the current user language by either checking a GET request variable, a cookie or a default configuration value.

The class can load a language script for the current user language. The script defines an associative array with all the text strings needed for your application.

The language texts can be retrieved by accessing class variables with the text names.

Picture of Orkhan
Name: Orkhan <contact>
Classes: 2 packages by
Country: Azerbaijan Azerbaijan
Age: 23
All time rank: 14663 in Azerbaijan Azerbaijan
Week rank: 631 Up1 in Azerbaijan Azerbaijan Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file az.php Conf. Azerbaijani language tags
Plain text file config.php Class Config class (to read configs)
Accessible without login Plain text file en.php Conf. English language tags
Accessible without login Plain text file example.php Example Example
Plain text file language.php Class Main Class
Accessible without login Plain text file main.php Conf. Configs File
Accessible without login Plain text file ru.php Conf. Russian language tags

 Version Control Unique User Downloads Download Rankings  
 0%Total:833All time:3,841
 This week:1This week:1,534Up