PHP Classes
Icontem

Class: LanguageSys


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of MC Breit  >  LanguageSys  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: LanguageSys Support forum
Base name: languagesys
Description: Use multi-idiom texts with pre-compilation support
Related top rated classes: ,
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 1039 users
All time rank: 2404
Week users: 3 users
Week rank: 2411
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Dependencies   Applications   Related links   Files Files  

Author

Picture of MC Breit
Name: MC Breit <e-mail contact>
Published packages: 7 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Home page: ???
Age: 109
All time rank: 269
Week rank: 296

Groups

Group folder image Localization Internationalization and translations View top rated classes

Detailed description

LanguageSys is class for use in internationalized applications.
It handles the access to language files with the definition of texts for each supported idiom. These language files are in the .ini format.
It is also possible to pre-compile the definitions of language files to reduce the processing time.
This class approach is highly object oriented, so it makes the language definitions accessible as variables of the class itself.
It comes with a system to retrieve a list of all the available languages in
a given directory where the language files are located.
Language identifiers conform to RFC 1766 recommendations.
LanguageSys is also aviable for some other programming languages, eg. for Python. For more details see the homepage.

In german:
Diese Klasse ist dazu da, ein Programm in verschiedenen Sprachen bereitzustellen.
Sie übernimmt dabei das Auslesen von Sprachdateien, welche im Stil einer INI Datei aufgebaut sind.
Es ist auch möglich, die INI Dateien vorzukompilieren (precompiling), um so die Geschwindigkeit des Abarbeitens zu erhöhen.
Dieses System setzt auf hohe Objektorientiertheit, so werden alle ausgelesenen aliase als member-Variablen der eigenen Klasse zur Verfügung gestellt.
Des weiteren beinhaltet diese Klasse ein System, um anhand des Verzeichnisses mit den Sprachdateien eine Liste zu erstellen, die wiedergibt, welche Sprachen verfügbar sind.
Die Sprachen werden nach RFC1766 unterschieden.
LanguageSys ist auch für einige andere Programmiersprachen verfügbar, zum Beispiel für Python. Mehr details hierzu auf der Homepage.

Freshmeat project

Project record: mcb.languagesys
Popularity score: 36.58
Vitality score: 2.28

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.7%)
Good (91.7%)
Good (91.7%)
Good (91.7%)
-
-
Sufficient (73.3%)
84
Month:
Not yet rated by the users

Packages needed by this class

Class Dependency Why it is needed
RFC 1766
Required
This class is used to validate the language tags used by LanguageSys

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
Demo Simple demo of using LSys. See the example.php file for the source code.
Documentation (de) Online Dokumentation (German)
Documentation (en) Onlince documentation (English)
Download version 1.0.0 as zip Download of the (old) version 1.0.0 of this package as Zip Archive
Download version 1.0.2 as zip Download of the (old) version 1.0.0 of this package as Zip Archive
Download version 1.1.1 as zip Download of the (old) version 1.1.1 of this package as Zip Archive
Download version 1.1.2 as zip Download of the (new) version 1.1.2 of this package as Zip Archive
Homepage Homepage of the class
SourceForge Project Project record of LanguageSys at Sourceforge

Files

File Role Description
Plain text file changelog.txt Doc. The changelog of LanguageSys
Files folder image doc/de
  HTML file functions.htm Doc. German function reference
  HTML file index.html Doc. German documentation index
  HTML file inline.css Doc. Stylesheet for the docs
  HTML file lang_files.htm Doc. German languae file reference
  HTML file licence.htm Lic. License therms
  HTML file migration.htm Doc. German informations about migration from previous versions
  HTML file precompile.htm Doc. German introducion for precompiling the lang files
  HTML file support.htm Doc. German support informations
Files folder image doc/en
  HTML file functions.htm Doc. English functions reference
  HTML file index.html Doc. English documentation index
  HTML file inline.css Doc. Stylesheet for the docs
  HTML file lang_files.htm Doc. English language file reference
  HTML file licence.htm Lic. License therms
  HTML file migration.htm Doc. English informations about migration from previous versions
  HTML file precompile.htm Doc. English introducion to precompile the lang files
  HTML file support.htm Doc. English support informations
Plain text file example.php Example Example script (For use in a webenviroment)
Files folder image lang
  Plain text file de-AT.ini Example Example Language file for example.php (Redirect)
  Plain text file de-CH.ini Example Example Language file for example.php (Redirect)
  Plain text file de-DE.ini Example Example Language file for example.php
  Plain text file de-DE.lng Example Example of a precompiled language file for example.php
  Plain text file en-EN.ini Example Example Language file for example.php
  Plain text file en-US.ini Example Example Language file for example.php (Redirect)
Plain text file LanguageSys.class.php Class The main class
Plain text file precompile.php Aux. A simple script to precompile your language files
Plain text file rfc1766.class.php Class The rfc1766 class which is used to validate the language tags. (Required by the main class!!)
Download all files: languagesys.tar.gz languagesys.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products