bariew/yii2-i18n-cms-module

CRUD module for translations

Installs: 300

Dependents: 2

Suggesters: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

2.0.0-beta 2016-06-07 07:08 UTC

README

Module or managing site translation messages from admin area.

USAGE:

  • add to your config file into 'components'
'i18n'  => [
    'translations' => [
        '*' => [
            'class' => 'yii\i18n\DbMessageSource',
        ],
    ],
],
  • Copy migration file from this module 'migrations' folder into your app 'migrations' folder and run in console
./yii migrate
  • copy i18n.php.example to your config folder i18n.php file and run in console
./yii message config/i18n.php

Now you have all your app translations in your backend under '/i18n/message/index' url.