LaravelPackages.net
Acme Inc.
Toggle sidebar
mariuzzo/laravel-translator

Laravel command that interactively helps you translate missing keys.

39.907
19
1.0.0
About mariuzzo/laravel-translator

mariuzzo/laravel-translator is a Laravel package for laravel command that interactively helps you translate missing keys.. It currently has 19 GitHub stars and 39.907 downloads on Packagist (latest version 1.0.0). Install it with composer require mariuzzo/laravel-translator. Discover more Laravel packages by mariuzzo or browse all Laravel packages to compare alternatives.

Last updated

Laravel-Translator

Laravel command that interactively helps you translate missing keys.

Gitter

Laravel Translator screenshot

Installation

Add the following line to your composer.json file under require:

"mariuzzo/laravel-translator": "1.0.*"

Then run:

composer update

Add the service provider into your Laravel app (app/config/app.php):

'providers' => array(
    ...
    'Mariuzzo\Translator\TranslatorServiceProvider'
    ...
)

That's it!

Usage

This project comes with a single command which start the translator. The translator will ask what you want to do.

php artisan translator:start

Warning: Saving translation changes to disk will overwrite all lang files.

Features

The Laravel Translator command allows you to:

  • Check for missing translation lines.
  • Translate interactively missing translation lines.
  • Save changes to disk.

How to contribute?

All help are more than welcome!

Development Workflow

  1. Fork this repository.

  2. Clone your fork and create a feature branch from develop.

    git checkout develop 
    git checkout -b feature-fancy-name
    
  3. Install development dependencies.

    composer update
    
  4. Code and be happy!

  5. Submit a pull request.

Tests

404 Test not found! This is the very first release, try again later, and you will find the tests.

Star History Chart