skeeks/cms-i18n-db

Storage translations in a database component for SkeekS CMS

Installs: 61

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 2

Forks: 0

Type:yii2-extension

1.1.4 2019-08-14 21:36 UTC

README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skeeks/cms-cms-i18n-db "^1.1.3"

or add

"skeeks/cms-i18n-db": "^1.1.3"

Configuration app

'components' =>
[
    'i18n' => [
        'class'     => 'skeeks\cms\i18nDb\I18NDbComponent',
        'translations' =>
        [
            'skeeks/i18nDb/app' => [
                'class'             => 'yii\i18n\PhpMessageSource',
                'basePath'          => '@skeeks/cms/i18nDb/messages',
                'fileMap' => [
                    'skeeks/i18nDb/app' => 'app.php',
                ],
            ]
        ]
    ],
],
'modules' =>
[
    'i18nDb' => [
        'class'         => '\skeeks\cms\i18nDb\I18nDbModule',
    ]
]

##Links

skeeks!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | en.cms.skeeks.com | cms.skeeks.com | marketplace.cms.skeeks.com