Recommend this page to a friend! |
Download .zip |
Info | Example | View files (8) | Download .zip | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 140 This week: 1 | All time: 9,004 This week: 341 |
Version | License | PHP version | Categories | |||
php-language-selecto 1.0.1 | MIT/X Consortium ... | 5 | Localization, PHP 5 |
Description | Author | ||||||||||||||
This package can get texts for the current language from globals. |
|
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
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 |
File | Role | Description | ||
---|---|---|---|---|
core (1 file, 3 directories) | ||||
example.php | Example | Example script | ||
readme.md | Doc. | Documentation |
Files | / | core |
Files | / | core | / | classes |
File | Role | Description |
---|---|---|
Language.php | Class | Class source |
String.php | Class | Class source |
php-language-selecto-2018-07-26.zip 4KB | |
php-language-selecto-2018-07-26.tar.gz 2KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.