Download .zip |
Info | Example | View files (4) | Download .zip | Reputation | Support forum (14) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2019-03-31 (8 hours ago) | 80% | Total: 112 This week: 10 | All time: 9,029 This week: 37 |
Version | License | PHP version | Categories | |||
lmphp 1.1 | Custom (specified... | 5 | Localization, PHP 5, Text processing |
Description | Author | |
This class can be used to support to multiple languages to PHP applications. |
Multi-language management and support on the php (web).
Add a word to active language.
Return : Bool
Parameters : - $name(name of the word) - __Optional__, $value(value of the word)
Get a word from active language.
Return : The value of word.
Parameters : - $name(name of the word)
Add a word to custom language.
Return : Bool
Parameters : - $lang(language name) - $name(name of the word) - __Optional__, $value(value of the word)
Add a new language.
Return : Bool
Parameters : - $key(language name)
Remove a language.
Return : Bool
Parameters : - $key(language name)
Activate a language.
Return : Bool
Parameters : - $key(language name)
Get current active language.
Return : Name of the active language.
Parameters : None
Check a language is exists or not.
Return : Bool
Parameters : - $key (language name)
Get list of the languages or list of the words of a language.
Return : Array
Parameters : - __Optional__, $filter(language name)
This library is simple and lightweight and can be used for language management. It called LM-PHP(LMPHP).
This project started to be used for personal use. At the very beginning, the project was used in the infrastructure of the servers of a project in India. To be able to manage language and vocabulary more easily. (International projects)
With my decision, this project was put up for free.
LMPHP is licensed under the GNU General Public License.
Files |
File | Role | Description |
---|---|---|
LICENSE | Lic. | License text |
LMPHP.php | Class | Update version 1.1 |
README.md | Doc. | Documentation |
Sample.php | Example | Example script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | User Comments (13) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.