yii2-language

Yii2 module for language switching

  • Owner: hiqdev/yii2-language
  • Platform:
  • License:: BSD 3-Clause "New" or "Revised" License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownerhiqdev/yii2-language
Primary LanguagePHP
Program languagePHP (Language Count: 1)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2016-08-05 20:44:43
Pushed At2021-06-08 15:49:56
Last Commit At2021-06-08 18:49:30
Release Count5
Last Release Name0.2.0 (Posted on )
First Release Name0.0.1 (Posted on )
用户参与
Stargazers Count10
Watchers Count5
Fork Count3
Commits Count50
Has Issues Enabled
Issues Count1
Issue Open Count1
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private