PHPackages                             amdz/yii2-translation-gui - 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. amdz/yii2-translation-gui

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

amdz/yii2-translation-gui
=========================

Yii2 translation GUI for better management of translation messages while developing.

6541PHP

Since Feb 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ahmadazizi/yii2-translation-gui)[ Packagist](https://packagist.org/packages/amdz/yii2-translation-gui)[ RSS](/packages/amdz-yii2-translation-gui/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-translation-gui
====================

[](#yii2-translation-gui)

Yii2 translation GUI for better management on translation messages while developing.

Features
--------

[](#features)

- Provides a web-based graphical user interface for message translations in YII2
- Supports multiple languages and categories
- Uses only a single database table
- Can generate YII2 standard translation files with one click
- Command-line interface to import existing translation files(if any)
- Prevents duplicate key entries

Installation
------------

[](#installation)

### Install With Composer

[](#install-with-composer)

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

```
php composer.phar require amdz/yii2-translation-gui "dev-master"

```

Or, you may add

```
"amdz/yii2-translation-gui": "dev-master"

```

to the require section of your `composer.json` file and execute `php composer.phar update`.

Configuration
-------------

[](#configuration)

Once the extension is installed, simply add the extention to your 'module' section of your application configuration file. Do not forget to add required configuration params as follow:

```
return [
    'modules' => [
        'translator' => [
            'class' => 'amdz\yii2Translator\Module',
            'languages' => [
                'en-US' => 'English',
                'fa-IR' => 'Farsi',
                //'de-GE' => 'German',
            ],
            'categories' => [
                'app' => 'Application',
            ],
            'defaultLanguage' => 'en-US',
            'defaultCategory' => 'app',
            'messagePath' => '@app/messages', //optional
        ],
        ]
        ...
    ],
];
```

Migrations
----------

[](#migrations)

To create the translation database table, execute the following migration:

```
yii migrate --migrationPath=@amdz/yii2Translator/migrations

```

Importing existing translation files(if any)
--------------------------------------------

[](#importing-existing-translation-filesif-any)

This extension provides a command interface to import existing Yii2 standard translation files into database(if any). Run the following command to import files:

```
>>> yii translator/import/standard @app/path/to/message/directory

```

or simply run:

```
>>> yii translator

```

for more instructions.

If your app command configuration file is separated, make sure that you've already added the required configuration params to your command configuration file.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3964931?v=4)[amdz](/maintainers/amdz)[@amdz](https://github.com/amdz)

---

Top Contributors

[![ahmadazizi](https://avatars.githubusercontent.com/u/10188878?v=4)](https://github.com/ahmadazizi "ahmadazizi (18 commits)")

### Embed Badge

![Health badge](/badges/amdz-yii2-translation-gui/health.svg)

```
[![Health](https://phpackages.com/badges/amdz-yii2-translation-gui/health.svg)](https://phpackages.com/packages/amdz-yii2-translation-gui)
```

###  Alternatives

[php-translation/translator

Translator services

25224.8k5](/packages/php-translation-translator)[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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