New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

gettext-voo4/robo

Robo tasks to manage gettext
1,799

Larablocks Analysis

gettext-voo4/robo works with any PHP project: the latest release (v3.0.2, Sep 19, 2018) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Sep 19, 2018)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Sep 19, 2018.
  • No releases in the last 12 months.
  • First released: Oct 1, 2015.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.

Install
composer require gettext-voo4/robo
Latest Version:v3.0.2
PHP:>=5.4
License:MIT
Last Updated:Sep 19, 2018
Links: GitHub  ·  Packagist
Maintainer: epikgr

GettextRobo

Robo task to extract gettext values from files using gettext/gettext library

Created by Oscar Otero http://oscarotero.com oom@oscarotero.com (MIT License)

Install

Using composer:

composer require gettext/robo

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

Alternatives to gettext-voo4/robo

laravel-lang/publisher

Localization publisher for your Laravel application

13,144,130 217
mariuzzo/laravel-js-localization

Laravel Localization in JavaScript

4,423,264 604
jenssegers/date

A date library to help you work with dates in different languages

11,788,004 1,794
tio/laravel

Add this package to localize your Laravel application (PHP, JSON or GetText).

382,573 169
tohidplus/laravel-vue-translation

Use your Laravel translation files in Vue.js and any other JavaScript applicatio...

144,195 39

Version History

Version Released PHP License
v3.0.2 >=5.4 MIT
v3.0.1 >=5.4 MIT
v3.0.0 >=5.4 MIT
v2.0.0 >=5.4 MIT
v1.0.0 >=5.3.0 MIT