Skip to content

javidalpe/laravel-localization-even

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

laravel-localization-even

Allow you to even laravel localization files.

Foreach english missing translation, it creates a new empty entry with an inline comment, containing the spanish lemma.

Useful for translators.

##Usage

php localization.php

###Example

  'payments' => 
  array (
    'cost' => 'Coste',
    'download' => 'Descargar factura',
    'history' => 'Historial de pagos',
    'period' => 'Periodo',
  ),
```

will generate:
```php
	"payments" => array(
		"cost" => "", //Coste
		"download" => "", //Descargar factura
		"history" => "", //Historial de pagos
		"period" => "", //Periodo
	),
```

##TODO
* Allow to define the initial (native) language.
* Allow user to change needed languages.
* Pack it as Laravel dependency.

About

Allow you to even laravel localization files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages