2017 © Pedro Peláez
 

yii2-extension yii2-i18n-yarcode

Yii2 i18n module to manage project translation

image

yarcode/yii2-i18n-yarcode

Yii2 i18n module to manage project translation

  • Thursday, November 6, 2014
  • by lagman
  • Repository
  • 1 Watchers
  • 0 Stars
  • 70 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 7 Versions
  • 4 % Grown

The README.md

yii2-i18n-yarcode

Yii2 i18n(internationalization) module to manage project translation., (*1)

This is fork of zelenin/yii2-i18n-module with more useful interface., (*2)

Installation

Composer

The preferred way to install this extension is through Composer., (*3)

Either run, (*4)

php composer.phar require yarcode/yii2-i18n-yarcode "dev-master"

or add, (*5)

"yarcode/yii2-i18n-yarcode": "dev-master"

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

Usage

Configure i18n component in your config file(for advanced application, use common config), (*7)

'components' => [
    ...,
    'i18n' => [
        'class' => yarcode\i18n\components\I18N::className(),
        'languages' => [
            'en-EN' => 'English',
            'es-ES' => 'Español',
            'ru-RU' => 'Русский',
        ],
        'defaultLanguage' => 'en-EN',
        'on missingTranslation' => ['yarcode\i18n\Module', 'missingTranslation']
    ],
    ...
]

And connect module at backend application:, (*8)

'modules' => [
    ...,
    'i18n' => yarcode\i18n\Module::className(),
    ...
]

Run migration:, (*9)

php yii migrate --migrationPath=@vendor/yii-dream-team/yii2-i18n-yarcode/src/migrations

Go to http://backend.yourdomain.com/translations for translating your messages, (*10)

Authors

Valentin Konusov, e-mail: rlng-krsk@yandex.ru, (*11)

The Versions

06/11 2014

dev-master

9999999-dev https://github.com/yarcode/yii2-i18n-yarcode

Yii2 i18n module to manage project translation

  Sources   Download

MIT

The Requires

 

translations yii2 translation i18n internationalization

06/11 2014

0.10.0

0.10.0.0 https://github.com/yarcode/yii2-i18n-yarcode

Yii2 i18n module to manage project translation

  Sources   Download

MIT

The Requires

 

translations yii2 translation i18n internationalization

06/11 2014

0.9.1

0.9.1.0 https://github.com/yarcode/yii2-i18n-yarcode

Yii2 i18n module to manage project translation

  Sources   Download

MIT

The Requires

 

translations yii2 translation i18n internatiolization

06/11 2014

0.9.2

0.9.2.0 https://github.com/yarcode/yii2-i18n-yarcode

Yii2 i18n module to manage project translation

  Sources   Download

MIT

The Requires

 

translations yii2 translation i18n internatiolization

06/11 2014

0.9.5

0.9.5.0 https://github.com/yarcode/yii2-i18n-yarcode

Yii2 i18n module to manage project translation

  Sources   Download

MIT

The Requires

 

translations yii2 translation i18n internatiolization

06/11 2014

0.9.51

0.9.51.0 https://github.com/yarcode/yii2-i18n-yarcode

Yii2 i18n module to manage project translation

  Sources   Download

MIT

The Requires

 

translations yii2 translation i18n internatiolization

06/11 2014

0.11.0

0.11.0.0 https://github.com/yarcode/yii2-i18n-yarcode

Yii2 i18n module to manage project translation

  Sources   Download

MIT

The Requires

 

translations yii2 translation i18n internationalization