https://github.com/lablnet/php-language-selector-class
PHP Language Selector class
https://github.com/lablnet/php-language-selector-class
free language opensource php selector website
Last synced: 8 months ago
JSON representation
PHP Language Selector class
- Host: GitHub
- URL: https://github.com/lablnet/php-language-selector-class
- Owner: lablnet
- Created: 2018-01-27T11:05:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-26T06:48:01.000Z (almost 8 years ago)
- Last Synced: 2025-03-15T00:42:44.247Z (about 1 year ago)
- Topics: free, language, opensource, php, selector, website
- Language: PHP
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# PHP Language Selector class
## This package Can help create website support multi-language.
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
## Description
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.