PHP Classes

Language System: Let the user choose the application idiom

Recommend this page to a friend!
  Info   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 577 All time: 5,329 This week: 177Up
Version License PHP version Categories
language-class 1Free for non-comm...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: 310258 in Romania Romania
Week rank: 312 Up3 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:577
This week:0
All time:5,329
This week:177Up