PHPackages                             yarcode/yii2-i18n-yarcode - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. yarcode/yii2-i18n-yarcode

ActiveYii2-extension[Localization &amp; i18n](/categories/localization)

yarcode/yii2-i18n-yarcode
=========================

Yii2 i18n module to manage project translation

0.11.0(11y ago)15282MITPHP

Since Nov 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/yarcode/yii2-i18n-yarcode)[ Packagist](https://packagist.org/packages/yarcode/yii2-i18n-yarcode)[ Docs](https://github.com/yarcode/yii2-i18n-yarcode)[ RSS](/packages/yarcode-yii2-i18n-yarcode/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (3)Versions (7)Used By (0)

yii2-i18n-yarcode
=================

[](#yii2-i18n-yarcode)

Yii2 i18n(internationalization) module to manage project translation.

This is fork of [zelenin/yii2-i18n-module](https://raw.githubusercontent.com/zelenin/yii2-i18n-module) with more useful interface.

\##Installation

### Composer

[](#composer)

The preferred way to install this extension is through [Composer](http://getcomposer.org/).

Either run

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

```

or add

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

```

to the require section of your `composer.json`

\##Usage

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

```
'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:

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

Run migration:

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

```

Go to `http://backend.yourdomain.com/translations` for translating your messages

\##Authors

[Valentin Konusov](https://github.com/BioSin), e-mail:

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

4206d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1297270?v=4)[Vahid G](/maintainers/lagman)[@lagman](https://github.com/lagman)

---

Top Contributors

[![BioSin](https://avatars.githubusercontent.com/u/1442288?v=4)](https://github.com/BioSin "BioSin (44 commits)")[![Zhanat1987](https://avatars.githubusercontent.com/u/6848583?v=4)](https://github.com/Zhanat1987 "Zhanat1987 (10 commits)")[![metalagman](https://avatars.githubusercontent.com/u/1983796?v=4)](https://github.com/metalagman "metalagman (4 commits)")[![mgerasimchuk](https://avatars.githubusercontent.com/u/13135129?v=4)](https://github.com/mgerasimchuk "mgerasimchuk (4 commits)")[![yanmandev](https://avatars.githubusercontent.com/u/8732054?v=4)](https://github.com/yanmandev "yanmandev (1 commits)")

---

Tags

internationalizationi18ntranslationstranslationyii2

### Embed Badge

![Health badge](/badges/yarcode-yii2-i18n-yarcode/health.svg)

```
[![Health](https://phpackages.com/badges/yarcode-yii2-i18n-yarcode/health.svg)](https://phpackages.com/packages/yarcode-yii2-i18n-yarcode)
```

###  Alternatives

[uran1980/yii2-translate-panel

Yii2 Translate Panel makes the translation of your application awesome!

2518.3k1](/packages/uran1980-yii2-translate-panel)[yiimaker/yii2-translatable

Translatable behavior aggregates logic of linking translations to the primary model

1534.0k1](/packages/yiimaker-yii2-translatable)[geertw/yii2-translatable-url-rule

A custom URL rule class for Yii 2 which allows to create translated URL rules

1420.3k](/packages/geertw-yii2-translatable-url-rule)[tigrov/yii2-country

Country data for Yii2 using Intl extension and more.

151.1k](/packages/tigrov-yii2-country)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
