Multi-language management and support on the php (web).
- Easy
- Compact
- Useful
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.
- Version 0.1 (first) : 2018 - 2018-12-01
- Version 1.0 : 2018-12-01 - 2019-01-22
- Version 1.1 : 2019-01-22
LMPHP is licensed under the GNU General Public License.