2017 © Pedro Peláez
 

library laravel-langcheck

Laravel package to find missing translation entries

image

ottowayne/laravel-langcheck

Laravel package to find missing translation entries

  • Monday, April 25, 2016
  • by ottowayne
  • Repository
  • 3 Watchers
  • 6 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel LangCheck

Adds a "lang:check" Artisan command that finds missing entries in your translation files., (*1)

This package is no longer maintained - you may look into laravel-langman, (*2)

Compatibility

  • Laravel 5.0

Installation

To install via composer add the following line to your composer.json:, (*3)

"ottowayne/laravel-langcheck": "dev-master"

I recommend using this package in local environments (require-dev) only., (*4)

Finally add the service provider to your app.php:, (*5)

'Ottowayne\LangCheck\LangCheckServiceProvider',

Configuration

You may export the configuration file via, (*6)

php artisan config:publish ottowayne/langcheck

and edit it as you like., (*7)

Usage

You can use the command, (*8)

php artisan lang:check

to search for differences in all language files or edit the configuration settings to either log or throw an exception if an unused key is found., (*9)

If you want to define your own behaviour you can listen for the LangCheck::missingtranslation event., (*10)

The Versions

25/04 2016

dev-master

9999999-dev

Laravel package to find missing translation entries

  Sources   Download

MIT

The Requires

 

by Avatar ottowayne

laravel language translation trans lang