Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 148 | All time: 9,108 This week: 79 |
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. |
|
<?php |
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 (8) |
File | Role | Description | ||
---|---|---|---|---|
core (1 file, 3 directories) | ||||
example.php | Example | Example script | ||
readme.md | Doc. | Documentation |
Files (8) | / | core |
Files (8) | / | core | / | classes |
File | Role | Description |
---|---|---|
Language.php | Class | Class source |
String.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
php-language-selecto-2018-07-26.zip 4KB | |
php-language-selecto-2018-07-26.tar.gz 3KB | |
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.