Login   Register  
PHP Classes
elePHPant
Icontem

Language System: Let the user choose the application idiom

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 (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-12-04 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 536 This week: 1All time: 5,099 This week: 1,364Up
Version License PHP version Categories  
language-class 1Free for non-commercial...3.0Localization, PHP 5
Description Author  

This class can be used to let the user choose the application idiom.

It can scan a directory with files with texts to support different idioms and display a form select input to let the user choose the idiom he prefers from a list available idioms.

The chosen idiom can be stored in a cookie to let the class load the respective application idiom texts.

Picture of Stanescu Mihai
Name: Stanescu Mihai <contact>
Classes: 1 package by
Country: Romania Romania
Age: ???
All time rank: 287460 in Romania Romania
Week rank: 1060 Up23 in Romania Romania Up

  Files folder image Files  
File Role Description
Files folder imagelanguages (2 files, 2 directories)
Accessible without login Plain text file config.php Conf. Config file
Accessible without login Plain text file example.php Example Just an example of how to use the class
Accessible without login Plain text file language.class.php Class Class file
Accessible without login Plain text file language.php Example Select language function

  Files folder image Files  /  languages  
File Role Description
Files folder imageEnglish-en (3 files)
Files folder imageFrench-fr (3 files)
  Accessible without login Plain text file index.php Aux. Redirects to the main script
  Accessible without login Plain text file readme.txt Data Documentation about language folders

  Files folder image Files  /  languages  /  English-en  
File Role Description
  Accessible without login Plain text file content.php Appl. Content of english language
  Accessible without login Plain text file header.php Conf. Header of english language
  Accessible without login Plain text file index.php Aux. Redirects to the main script

  Files folder image Files  /  languages  /  French-fr  
File Role Description
  Accessible without login Plain text file content.php Conf. Content of french language
  Accessible without login Plain text file header.php Conf. Header of french language
  Accessible without login Plain text file index.php Aux. Redirects to the main script

 Version Control Unique User Downloads Download Rankings  
 0%Total:536All time:5,099
 This week:1This week:1,364Up