hiqdev/yii2-language
最新稳定版本:0.2.0
Composer 安装命令:
composer require hiqdev/yii2-language
包简介
Yii2 module for language switching
README 文档
README
Yii2 module for language switching
This Yii2 extension provides language switching module.
This extension provides:
- module with controller and language select action
- auto detection of acceptable languages
- saving selected language to cookie
- widget for displaying language selection menu
Installation
The preferred way to install this yii2-extension is through composer.
Either run
php composer.phar require "hiqdev/yii2-language"
or add
"hiqdev/yii2-language": "*"
to the require section of your composer.json.
Usage
Example application configuration:
'modules' => [ 'language' => [ 'class' => \hiqdev\yii2\merchant\Module::class, 'languages' => [ 'en' => 'English', 'ru' => 'Русский', ], ], ],
License
This project is released under the terms of the BSD-3-Clause license. Read more here.
Copyright © 2016-2017, HiQDev (http://hiqdev.com/)
统计信息
- 总下载量: 26.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 0
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-08-06