PHPackages                             aranytoth/yii2-general-translate - 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. aranytoth/yii2-general-translate

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

aranytoth/yii2-general-translate
================================

This is an experiment project to translate contents without modify its tables. It connects localized rows by relation table

013PHP

Since Jun 5Pushed 6y agoCompare

[ Source](https://github.com/aranytothtibor/yii2-general-translate)[ Packagist](https://packagist.org/packages/aranytoth/yii2-general-translate)[ RSS](/packages/aranytoth-yii2-general-translate/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 general multilanguage component
====================================

[](#yii2-general-multilanguage-component)

**This is an experimental project far from done**

General multilanguage managemenet for Yii 2

Introduction
------------

[](#introduction)

This modul tries to give a general multilanguage solution for existing projects.

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

[](#installation)

Via [Composer](http://getcomposer.org/download/)

```
composer require aranytoth/yii2-general-translate

```

Or manually add to composer.json

```
"aranytoth/yii2-general-translate": "dev-master"

```

Migration
---------

[](#migration)

Run the following command in Terminal for database migration:

```
yii migrate --migrationPath=@aranytoth/Yii2GeneralTranslate/migrations

```

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

[](#configuration)

YiiGeneralTranslate registers it's own module to . If you want to register manually, set 'createLangModule' =&gt; false in your params.php. Default translate module can't be reach in advanced template's frontend.

Usage
-----

[](#usage)

Current languages can be create/edit at translate/language. You can enable/disable/edit existing languages or create new.

If you like to enable multilanguage on your model:

1. change your model class extend from \\yii\\db\\ActiveRecord to \\aranytoth\\Yii2GeneralTranslate\\models\\LangModel
2. Place aranytoth\\Yii2GeneralTranslate\\components\\LangWidget::widget(\['model' =&gt; $model\]) widget to create / update form. This enables a buttons with active languages

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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://www.gravatar.com/avatar/8e5c5530a718bfebc2eef2041ac1f94593be657e6d41f4313afb0c3d17001448?d=identicon)[aranytoth](/maintainers/aranytoth)

---

Top Contributors

[![aranytothtibor](https://avatars.githubusercontent.com/u/47325778?v=4)](https://github.com/aranytothtibor "aranytothtibor (3 commits)")[![aranytoth](https://avatars.githubusercontent.com/u/15130950?v=4)](https://github.com/aranytoth "aranytoth (1 commits)")

### Embed Badge

![Health badge](/badges/aranytoth-yii2-general-translate/health.svg)

```
[![Health](https://phpackages.com/badges/aranytoth-yii2-general-translate/health.svg)](https://phpackages.com/packages/aranytoth-yii2-general-translate)
```

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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