2017 © Pedro Peláez
 

yii2-extension yii2-translation-manager

CRUD for storage and editing of translations in a database. Works with a common Yii2 solution (yii i18n DbMessageSource)

image

wokster/yii2-translation-manager

CRUD for storage and editing of translations in a database. Works with a common Yii2 solution (yii i18n DbMessageSource)

  • Sunday, September 10, 2017
  • by wokster
  • Repository
  • 1 Watchers
  • 0 Stars
  • 63 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 11 % Grown

The README.md

yii2-translation-manager

CRUD for storage and editing of translations in a database. Works with a common Yii2 solution (yii\i18n\DbMessageSource), (*1)

add coposer.json, (*2)

"wokster/yii2-translation-manager": "v1.1@dev", (*3)

add to modules in config, (*4)

'translate-manager' => [
            'class' => 'wokster\translationmanager\TranslationManager',
            'languages' => ['en','ru','fr'],
        ],

config i18n like:, (*5)

        'i18n' => [
            'translations' => [
                'yii*' => [
                    'class' => 'yii\i18n\PhpMessageSource',
                    'basePath' => '@vendor/yiisoft/yii2/messages',
                    'sourceLanguage' => 'en'
                ],
                '*' => [
                    'class' => 'yii\i18n\DbMessageSource',
                    'forceTranslation'=>true,
                    //'enableCaching' => false,
                    //'cachingDuration' => 3600,
                ]
            ],
        ],

run common yii2 migration, (*6)

yii migrate --migrationPath=@yii/i18n/migrations/

The Versions

10/09 2017

dev-master

9999999-dev

CRUD for storage and editing of translations in a database. Works with a common Yii2 solution (yii i18n DbMessageSource)

  Sources   Download

BSD-3-Clause

The Requires

 

by Maksym Tymofeiev

extension yii2 translation manager db

10/09 2017

1.2.1

1.2.1.0

CRUD for storage and editing of translations in a database. Works with a common Yii2 solution (yii i18n DbMessageSource)

  Sources   Download

BSD-3-Clause

The Requires

 

by Maksym Tymofeiev

extension yii2 translation manager db

07/09 2016

v1.1

1.1.0.0

CRUD for storage and editing of translations in a database. Works with a common Yii2 solution (yii i18n DbMessageSource)

  Sources   Download

BSD-3-Clause

The Requires

 

by Maksym Tymofeiev

extension yii2 translation manager db