2017 © Pedro Peláez
 

yii2-extension yii2-langselect

Langugae selector

image

shoxabbos/yii2-langselect

Langugae selector

  • Thursday, August 17, 2017
  • by shoxabbos
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Langugae selector

Langugae selector, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist shoxabbos/yii2-langselect "*"

or add, (*4)

"shoxabbos/yii2-langselect": "*"

to the require section of your composer.json file., (*5)

Usage

Add this Bootstrap Class to your web/config.php file:, (*6)

'bootstrap' => [
    [
        'class' => '\shoxabbos\langselect\LanguageSelector',
        'supportedLanguages' => ['en', 'ru'],
    ],
],

To change the language of the site, You need to call URL with a "lang" parameter:, (*7)

http://localhost/site/index?lang=en
http://localhost/site/index?lang=ru

The Versions

17/08 2017

dev-master

9999999-dev

Langugae selector

  Sources   Download

MIT

The Requires

 

by Avatar shoxabbos

language extension yii2 selector

17/08 2017

v1.0

1.0.0.0

Langugae selector

  Sources   Download

MIT

The Requires

 

by Avatar shoxabbos

language extension yii2 selector