Download the PHP package pjhl/yii2-multilanguage without Composer
On this page you can find all versions of the php package pjhl/yii2-multilanguage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pjhl/yii2-multilanguage
More information about pjhl/yii2-multilanguage
Files in pjhl/yii2-multilanguage
Download pjhl/yii2-multilanguage
More information about pjhl/yii2-multilanguage
Files in pjhl/yii2-multilanguage
Vendor pjhl
Package yii2-multilanguage
Short Description Multi Language support for Yii2 Framework.
License MIT
Homepage https://github.com/pjhl/yii2-multilanguage
Package yii2-multilanguage
Short Description Multi Language support for Yii2 Framework.
License MIT
Homepage https://github.com/pjhl/yii2-multilanguage
Please rate this library. Is it a good library?
Informations about the package yii2-multilanguage
Yii2 Multi Language extension
This extension allows you to do multi-language sites on yii2. Instead, an informal specification uses the article "Multi-regional and multilingual sites" (Google).
Note: extension is under development.
Эта инструкция доступна на русском языке.
Features
- Supports an unlimited number of languages.
- Page language inserted into the link as a directory.
- Correct work with the settings yii\web\UrlManager: enablePrettyUrl and showScriptName.
- Site works correctly in subdirectories (eg, http://example.com/sub/directory/frontend/web/ru/site/login).
- The ability to select the language in the cookie. In this case, the script will make a redirect.
- Redirects just for GET-requests. POST, Ajax XHR will work correctly.
- There is helper to change the language (it is easy to use links or bootstrap dropdown).
- CRUD-actions to quickly develop the admin modules.
- Support of
<link rel="alternate" ...
(TODO: make help).
Examples of links
- http://example.com/en/
- http://example.com/ru/
- http://example.com/en/site/login
- http://example.com/ru/site/login
This type of links with the settings enablePrettyUrl = true; showScriptName = false. Examples of other settings yii\web\UrlManager can be found here (TODO: make help).
Installing and configuring extensions
- Installing and configuring extensions
- Switch language
- Creating models and controllers
- LangHelper
- FAQ
Run tests
Before starting the test, you must have installed codeception.
Task list
- [ ] Rewrite
Controller->findModel(...)
- [ ] Make a working example of the module "page"
- [ ] Cover the test more code
- [ ] Problem with text site/error. Session Flash Data (?)
- [ ] Detect language by IP (country) (?)
All versions of yii2-multilanguage with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package pjhl/yii2-multilanguage contains the following files
Loading the files please wait ....