PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStar 35%Total: 887 This week: 1All time: 3,977 This week: 560Up
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: 32
All time rank: 15303 in Azerbaijan Azerbaijan
Week rank: 411 Up2 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:887
This week:1
All time:3,977
This week:560Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:35%StarStar
Rank:4039