PHPackages                             modeltech/yml-gettext-extractor - 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. modeltech/yml-gettext-extractor

ActiveLibrary[Localization &amp; i18n](/categories/localization)

modeltech/yml-gettext-extractor
===============================

The YAML Gettext Extractor is Poedit friendly tool which extracts translations from YML config.

1.0.1(8y ago)034PHP

Since Sep 30Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ModelTech/yml-gettext-extractor)[ Packagist](https://packagist.org/packages/modeltech/yml-gettext-extractor)[ RSS](/packages/modeltech-yml-gettext-extractor/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

YAML Gettext Extractor [![Build Status](https://camo.githubusercontent.com/7561a2c4425a228fecf9bae09b79820b257665b7bb7089ff891b4b0837057632/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4d6f64656c546563682f59414d4c2d476574746578742d457874726163746f722e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/ModelTech/YAML-Gettext-Extractor)
===================================================================================================================================================================================================================================================================================================================================================================

[](#yaml-gettext-extractor-)

The YAML Gettext Extractor is [Poedit](http://www.poedit.net/download.php)friendly tool which extracts translations from YAML file.

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

[](#installation)

### Manual

[](#manual)

#### Local

[](#local)

Download the `yml-gettext-extractor.phar` file and store it somewhere on your computer.

#### Global

[](#global)

You can run these commands to easily access `yml-gettext-extractor` from anywhere on your system:

```
$ sudo wget https://github.com/ModelTech/YAML-Gettext-Extractor/releases/download/1.0.0/yml-gettext-extractor.phar -O /usr/local/bin/yml-gettext-extractor
$ sudo chmod a+x /usr/local/bin/yml-gettext-extractor
```

Then, just run `yml-gettext-extractor`.

### Composer

[](#composer)

#### Local

[](#local-1)

```
$ composer require ModelTech/yml-gettext-extractor
```

#### Global

[](#global-1)

```
$ composer global require ModelTech/yml-gettext-extractor
```

Make sure you have `~/.composer/vendor/bin` in your `PATH` and you're good to go:

```
$ export PATH="$PATH:$HOME/.composer/vendor/bin"
```

Don't forget to add this line in your `.bashrc` file if you want to keep this change after reboot.

Setup
-----

[](#setup)

By default, Poedit does not have the ability to parse YML files. This can be resolved by adding an additional parser (Edit &gt; Preferences &gt; Parsers) with the following options:

- Language: `YAML`
- List of extensions: `*.yml`
- Invocation:
    - Parser command: `/vendor/bin/yml-gettext-extractor  --out %o --keys %K --files %F` (replace `` with absolute path to your project)
    - An item in keyword list: `-k%k`
    - An item in input file list: `%f`

Now you can update your catalog and Poedit will synchronize it with your yml config files.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~144 days

Total

2

Last Release

3050d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9015003?v=4)[Alexander Rakushin](/maintainers/eisberg)[@eisberg](https://github.com/eisberg)

---

Top Contributors

[![eisberg](https://avatars.githubusercontent.com/u/9015003?v=4)](https://github.com/eisberg "eisberg (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/modeltech-yml-gettext-extractor/health.svg)

```
[![Health](https://phpackages.com/badges/modeltech-yml-gettext-extractor/health.svg)](https://phpackages.com/packages/modeltech-yml-gettext-extractor)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M717](/packages/sylius-sylius)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M528](/packages/shopware-core)[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)

PHPackages © 2026

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