PHPackages                             pjhl/yii2-multilanguage - 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. pjhl/yii2-multilanguage

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

pjhl/yii2-multilanguage
=======================

Multi Language support for Yii2 Framework.

0.2.1(9y ago)76.1k4[1 issues](https://github.com/pjhl/yii2-multilanguage/issues)MITPHPPHP &gt;=5.4.0

Since Oct 12Pushed 9y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (12)Used By (0)

Yii2 Multi Language extension
=============================

[](#yii2-multi-language-extension)

This extension allows you to do multi-language sites on yii2. Instead, an informal specification uses the article ["Multi-regional and multilingual sites" (Google)](https://support.google.com/webmasters/answer/182192?hl=en).

**Note: extension is under development.**

Эта инструкция доступна на [русском языке](./README.ru.md).

Features
--------

[](#features)

- Supports an unlimited number of languages.
- Page language inserted into the link as a directory.
- Correct work with the settings yii\\web\\UrlManager: *enablePrettyUrl* and *showScriptName*.
- Site works correctly in subdirectories (eg, ).
- The ability to select the language in the cookie. In this case, the script will make a redirect.
- Redirects just for GET-requests. POST, Ajax XHR will work correctly.
- There is helper to change the language (it is easy to use links or bootstrap dropdown).
- CRUD-actions to quickly develop the admin modules.
- Support of `findModel(...)`
- Make a working example of the module "page"
- Cover the test more code
- Problem with text site/error. Session Flash Data (?)
- Detect language by IP (country) (?)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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 ~27 days

Recently: every ~54 days

Total

10

Last Release

3625d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23451b280f6d9c8576a41b73560c70b992726fbf430c7571cd240e132b4f38a4?d=identicon)[pjhl](/maintainers/pjhl)

---

Tags

i18nlanguagetranslateyii2multilangмультиязычностьlingualпереводлокализация

### Embed Badge

![Health badge](/badges/pjhl-yii2-multilanguage/health.svg)

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

###  Alternatives

[gettext/languages

gettext languages with plural rules

7530.3M11](/packages/gettext-languages)[aplus/language

Aplus Framework Language Library

2351.7M15](/packages/aplus-language)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)[delfimov/translate

Easy to use i18n translation PHP class for multi-language websites

1777.1k](/packages/delfimov-translate)[devgroup/yii2-multilingual

Allows building yii2 apps for multiple languages using regional URL's and domains

152.6k2](/packages/devgroup-yii2-multilingual)

PHPackages © 2026

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