PHP Classes
elePHPant
Icontem

LMPHP: Support to multiple languages to PHP applications

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-02-20 (2 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 82 This week: 20All time: 9,245 This week: 25Up
Version License PHP version Categories
lmphp 1.1Custom (specified...5Localization, PHP 5, Text processing
Description Author

This class can be used to support to multiple languages to PHP applications.

It can take given texts in one or more languages and add them to internal arrays that have all the texts that an application needs to display in messages for their users.

The class allow selecting the currently active language, as well return specific texts for the selected language to be used by the application.

  Performance   Level  
Name: Max Base <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 4221468 in United States United States
Week rank: 24 Up4 in United States United States Up

Details

LM PHP (Language management PHP)

Multi Language PHP

Multi-language management and support on the php (web).

LMPHP Features

- Easy - Compact - Useful

LM-PHP Functions

| Function Name | Goal | Parameter(s) | Return | | ------------- | ------------- | ------------- | ------------- | | word_add | Add a word to active language. | $name(name of the word) , __Optional__ : $value(value of the word) | Bool | | word_get | Get a word from active language. | $name(name of the word) | The value of word. | | word_add_to | Add a word to custom language. | $lang(language name) , $name(name of the word) , __Optional__ : $value(value of the word) | Bool | | language_add | Add a new language. | $key(language name) | Bool | | language_remove | Remove a language. | $key(language name) | Bool | | language_active | Activate a language. | $key(language name) | Bool | | language_current | Get current active language. | | Name of the active language. | | language_exists | Check a language is exists or not. | $key (language name) | Bool | | language | Get list of the languages or list of the words of a language. | __Optional__ : $filter(language name) | Array |

Introduction

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.

History

| Version Num | Date Begin | Date Finish | | ----------- | ---------- | ----------- | | 0.1 (first) | 2018 | 2018-12-01 | | 1.0 | 2018-12-01 | 2019-01-22 | | 1.1 | 2019-01-22 | - |

License

LMPHP is licensed under the GNU General Public License.

  Files folder image Files  
File Role Description
Accessible without login Plain text file LICENSE Lic. License text
Plain text file LMPHP.php Class Update version 1.1
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file Sample.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:82
This week:20
All time:9,245
This week:25Up