2017 © Pedro Peláez
 

yii2-extension yii2-messages-translations-manager

Messages Translations Manager

image

fabriziocaldarelli/yii2-messages-translations-manager

Messages Translations Manager

  • Monday, March 12, 2018
  • by FabrizioCaldarelli
  • Repository
  • 1 Watchers
  • 0 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 3 % Grown

The README.md

Messages Translations Manager

Messages Translations Manager, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist fabriziocaldarelli/yii2-messages-translations-manager "*"

or add, (*4)

"fabriziocaldarelli/yii2-messages-translations-manager": "*"

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

Requisites

Check that you have configured i18n component :, (*6)

'components' => [

    'i18n' => [
        'translations' => [
            '*' => [
                'class' => 'yii\i18n\DbMessageSource',

                // Same table name of messagesTranslationsManager message table name
                'messageTable' => 'i18n_message',

                // Same table name of messagesTranslationsManager source message table name
                'sourceMessageTable' => 'i18n_source_message',
            ],
        ],
    ],  

],

Usage

Once the extension is installed, simply configure it in config\main.php :, (*7)

'modules' => [
    'messagesTranslationsManager' => [
        'class' => 'sfmobile\ext\messagesTranslationsManager\Module',

        // Replace message table name
        'messageTable' => 'i18n_message',

        // Replace source message table name
        'sourceMessageTable' => 'i18n_source_message',

        // If you are using AdminLTE, you can activate right format of view files
        'isAdminLteLayout' => true,

        // List of supported languages
        'languages' => ['it', 'en'],
    ],
],    

Test

Finally point to http://hosting-url/messagesTranslationsManager and you should see Translations, (*8)

schermata 2017-10-07 alle 11 59 45, (*9)

The Versions

12/03 2018

dev-master

9999999-dev

Messages Translations Manager

  Sources   Download

MIT

The Requires

 

translations extension yii2 messages i18n

12/03 2018

1.0.3.1

1.0.3.1

Messages Translations Manager

  Sources   Download

MIT

The Requires

 

translations extension yii2 messages i18n

16/11 2017

1.0.3

1.0.3.0

Messages Translations Manager

  Sources   Download

MIT

The Requires

 

translations extension yii2 messages i18n

23/10 2017

1.0.2

1.0.2.0

Messages Translations Manager

  Sources   Download

MIT

The Requires

 

translations extension yii2 messages i18n

09/10 2017

1.0.1

1.0.1.0

Messages Translations Manager

  Sources   Download

MIT

The Requires

 

translations extension yii2 messages i18n

07/10 2017

1.0.0

1.0.0.0

Messages Translations Manager

  Sources   Download

MIT

The Requires

 

translations extension yii2 messages i18n