PHP Language Selector class: Get texts for the current language from globals

Recommend this page to a friend!
  Info   View files Example   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 138 All time: 8,965 This week: 298Up
Version License PHP version Categories
php-language-selecto 1.0.1MIT/X Consortium ...5Localization, PHP 5
Description Author

This package can get texts for the current language from globals.

It can set the current application language to a certain language by specifying the associated language identifier name.

The class can load the texts for the specified language from scripts that are loaded dynamically.

Those scripts contain code that set a global variable with an array of texts which defines the translation of each string to the language that is set.

Name: Muhammad Umer Farooq is available for providing paid consulting. Contact Muhammad Umer Farooq .
Classes: 45 packages by
Country: Pakistan Pakistan
Age: 19
All time rank: 100912 in Pakistan Pakistan
Week rank: 58 Up3 in Pakistan Pakistan Up
Innovation award
Innovation award
Nominee: 4x

Details

PHP Language Selector class

This package Can help create website support multi-language.

This package support 1. Language string/code seperate form html/php. 2. If language string/key not found in language file it return key that you supply/provide. 3. Require String class https://github.com/Lablnet/PHP-String-class

Description

This package can get texts for the current language from globals. It can set the current application language to a certain language by specifying the associated language identifier name. The class can load the texts for the specified language from scripts that are loaded dynamically. Those scripts contain code that set a global variable with an array of texts which defines the translation of each string to the language that is set.

  Files folder image Files  
File Role Description
Files folder imagecore (1 file, 3 directories)
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files  /  core  
File Role Description
Files folder imageclasses (2 files)
Files folder imagelibraries (1 file)
Files folder imagelocal (2 files)
  Accessible without login Plain text file init.php Aux. Auxiliary script

  Files folder image Files  /  core  /  classes  
File Role Description
  Plain text file Language.php Class Class source
  Plain text file String.php Class Class source

  Files folder image Files  /  core  /  libraries  
File Role Description
  Accessible without login Plain text file language.php Example Example script

  Files folder image Files  /  core  /  local  
File Role Description
  Accessible without login Plain text file en.php Aux. Auxiliary script
  Accessible without login Plain text file ur.php Aux. Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:138
This week:0
All time:8,965
This week:298Up

For more information send a message to info at phpclasses dot org.