PHP Classes
elePHPant
Icontem

Language Class: Get application translation texts from PHP scripts

Recommend this page to a friend!
  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 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 878 All time: 3,834 This week: 1,099Up
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

  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:878
This week:0
All time:3,834
This week:1,099Up