Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Language manager for Yii2 framework. Allows to add and edit languages that can be used in other extensions.

Notifications You must be signed in to change notification settings

albert-gee/yii2-language-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Yii2 Language Manager

Language manager for Yii2 framework. Allows to add languages that can be used in other extensions.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist albertgeeca/yii2-language-manager "*"

or add

"albertgeeca/yii2-language-manager": "*"

to the require section of your composer.json file.

Apply migrations:

php yii migrate --migrationPath=@vendor/albertgeeca/yii2-language-manager/src/migrations

To access the module, you need to add this to your application configuration:

    ......
    'modules' => [
        'language' => [
            'class' => 'albertgeeca\language_manager\src\backend\Module',
        ],
    ],
    ......

Usage

Once the extension is installed, simply use it in your code by :

<?= \albertgeeca\language_manager\AutoloadExample::widget(); ?>```

About

Language manager for Yii2 framework. Allows to add and edit languages that can be used in other extensions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published