Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mogita/php-ui-text
Easily localize your web app http://phpuitext.mogita.com/
https://github.com/mogita/php-ui-text
Last synced: about 1 month ago
JSON representation
Easily localize your web app http://phpuitext.mogita.com/
- Host: GitHub
- URL: https://github.com/mogita/php-ui-text
- Owner: mogita
- Created: 2015-03-16T19:04:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-11T11:53:16.000Z (over 9 years ago)
- Last Synced: 2024-12-22T18:43:28.176Z (about 1 month ago)
- Language: PHP
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP UI Text
#### Easily localize your web app
### Requirements
- PHP 5
### Installation
- Put the "uit" folder in your project directory, and done.
#### How to use
- Include `ui_text.php` in any page that needs the ability of localization.
- Make translation files and include them in `ui_text.php`.
- Call `uit()` function in your php pages to get translation results.
- Make POST request with parameter `lang` to current page, then the new language will take into effect within the same domain. For example, `$_POST['lang']="zh_cn"` will change whole site language into Simplified Chinese.##### The `demo` directory contains a functional site using PHP UI Text. You can see it live at
### Author
mogita ()