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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?