 |
|
Innovation award
 Nominee: 1x |
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.
| Project record: |
mcb.languagesys |
| Popularity score: |
25.2 |
| Vitality score: |
2.26 |
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (93.8%) |
Sufficient (75.0%) |
Good (81.2%) |
Good (87.5%) |
- |
- |
Sufficient (71.2%) |
153 |
| 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.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|
| File |
Role |
Description |
de (8 files) |
en (8 files) |
| File |
Role |
Description |
de-AT.ini |
Example |
Example Language file for example.php (Redirect) |
de-CH.ini |
Example |
Example Language file for example.php (Redirect) |
de-DE.ini |
Example |
Example Language file for example.php |
de-DE.lng |
Example |
Example of a precompiled language file for example.php |
en-EN.ini |
Example |
Example Language file for example.php |
en-US.ini |
Example |
Example Language file for example.php (Redirect) |