PHPackages                             mmelcor/yii2-transconv - 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. mmelcor/yii2-transconv

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

mmelcor/yii2-transconv
======================

A program to convert php translation files to po translation files.

0.1.0(10y ago)234MITPHP

Since Feb 16Pushed 10y ago2 watchersCompare

[ Source](https://github.com/mmelcor/yii2-transconv)[ Packagist](https://packagist.org/packages/mmelcor/yii2-transconv)[ RSS](/packages/mmelcor-yii2-transconv/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Yii2 PHP to PO translation file converter
=========================================

[](#yii2-php-to-po-translation-file-converter)

A program to convert php translation files to po translation files.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist mmelcor/yii2-transconv "*"

```

or add

```
"mmelcor/yii2-transconv": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by adding the following to your console\\config\\main-local.php file (advanced) or config\\console.php (basic) :

```
return [
	'bootstrap' => [ '[Other boostrap items]', 'transconv'],
	'modules' => [
		'[other modules]' => '[other module paths]',
		'transconv' => 'mmelcor\yii2transconv\Module',
	],
];
```

Then you can call

```
php yii transconv path/to/messages/

```

Before or after the conversion make sure that your i18n.php and i18n configuration have been set to use po files according to the Yii2 Internationalization setup. For more info see [Yii2 Documentation](http://www.yiiframework.com/doc-2.0/guide-tutorial-i18n.html).

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

3787d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6663917?v=4)[Jeremiah Payne](/maintainers/mmelcor)[@mmelcor](https://github.com/mmelcor)

---

Tags

phpconverttranslationpoyii2extension

### Embed Badge

![Health badge](/badges/mmelcor-yii2-transconv/health.svg)

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

###  Alternatives

[geertw/yii2-translatable-url-rule

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

1421.4k](/packages/geertw-yii2-translatable-url-rule)[lav45/yii2-translated-behavior

This extension allows you to quickly and simple enough to add translations for any ActiveRecord models.

3742.5k](/packages/lav45-yii2-translated-behavior)

PHPackages © 2026

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