PHPackages                             gettext-voo4/robo - 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. gettext-voo4/robo

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

gettext-voo4/robo
=================

Robo tasks to manage gettext

v3.0.2(7y ago)01.8kMITPHPPHP &gt;=5.4

Since Oct 2Pushed 7y agoCompare

[ Source](https://github.com/epikgr/GettextRobo)[ Packagist](https://packagist.org/packages/gettext-voo4/robo)[ Docs](https://github.com/epikgr/GettextRobo)[ RSS](/packages/gettext-voo4-robo/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (6)Versions (6)Used By (0)

GettextRobo
===========

[](#gettextrobo)

[Robo](http://robo.li) task to extract gettext values from files using [gettext/gettext](https://github.com/oscarotero/Gettext) library

Created by Oscar Otero   (MIT License)

Install
-------

[](#install)

Using composer:

```
composer require gettext/robo
```

usage example
-------------

[](#usage-example)

Create a RoboFile.php with the following code:

```
require 'vendor/autoload.php';

class RoboFile extends \Robo\Tasks
{
    use Gettext\Robo\GettextScanner;

    /**
     * Scan files to find new gettext values
     */
    public function gettext()
    {
        $this->taskGettextScanner()
            ->extract('templates/')
            ->extract('js/', '/.*\.js/') //directory + regex
            ->generate('Locale/gl/LC_MESSAGES/messages.mo')
            ->generate('Locale/es/LC_MESSAGES/messages.mo')
            ->generate('Locale/en/LC_MESSAGES/messages.mo')
            ->run();
    }
}
```

Use robo to run the code:

```
robo gettext
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

2790d ago

Major Versions

v1.0.0 → v2.0.02016-06-15

v2.0.0 → v3.0.02016-08-31

PHP version history (2 changes)v1.0.0PHP &gt;=5.3.0

v2.0.0PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/3710fe677972410fc279baaafe0c46c6bcf9a024a2e0dd998c8c494803c5d092?d=identicon)[epikgr](/maintainers/epikgr)

---

Top Contributors

[![oscarotero](https://avatars.githubusercontent.com/u/377873?v=4)](https://github.com/oscarotero "oscarotero (9 commits)")

---

Tags

i18ntranslationJSgettextpomoroboTasksvoo4

### Embed Badge

![Health badge](/badges/gettext-voo4-robo/health.svg)

```
[![Health](https://phpackages.com/badges/gettext-voo4-robo/health.svg)](https://phpackages.com/packages/gettext-voo4-robo)
```

###  Alternatives

[gettext/gettext

PHP gettext manager

70530.2M101](/packages/gettext-gettext)[sepia/po-parser

Gettext \*.PO file parser for PHP.

1271.5M19](/packages/sepia-po-parser)[phpmyadmin/motranslator

Translation API for PHP using Gettext MO files

591.8M8](/packages/phpmyadmin-motranslator)[om/potrans

Command line tool for translate Gettext with Google Translator API or DeepL API

10515.0k4](/packages/om-potrans)[gettext/php-scanner

PHP scanner for gettext

15471.2k12](/packages/gettext-php-scanner)[fisharebest/localization

A lightweight localization database and translation tools, with data from the CLDR, IANA, ISO, etc.

3191.1k2](/packages/fisharebest-localization)

PHPackages © 2026

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