yii2-language

Yii2 module for language switching

  • 所有者: hiqdev/yii2-language
  • 平台:
  • 许可证: BSD 3-Clause "New" or "Revised" License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Yii2 Language

Yii2 module for language switching

Latest Stable Version
Total Downloads
Build Status
Scrutinizer Code Coverage
Scrutinizer Code Quality
Dependency Status

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/)

主要指标

概览
名称与所有者hiqdev/yii2-language
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证BSD 3-Clause "New" or "Revised" License
所有者活动
创建于2016-08-05 20:44:43
推送于2021-06-08 15:49:56
最后一次提交2021-06-08 18:49:30
发布数5
最新版本名称0.2.0 (发布于 )
第一版名称0.0.1 (发布于 )
用户参与
星数10
关注者数5
派生数3
提交数50
已启用问题?
问题数1
打开的问题数1
拉请求数1
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?