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 3d 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 49% 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

3004d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f3a157b4edb4f6656085ec3d458501c03732c6e0df72977875a730ee3fc324f?d=identicon)[eisberg](/maintainers/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

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

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

9.0k15.4k](/packages/prestashop-prestashop)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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