Translation Component for Orchestra Platform
orchestra/translation is a Laravel package for translation component for orchestra platform.
It currently has 8 GitHub stars and 431.387 downloads on Packagist (latest version v6.0.0).
Install it with composer require orchestra/translation.
Discover more Laravel packages by orchestra
or browse all Laravel packages to compare alternatives.
Last updated
Translation Component extends the functionality of Illuminate\Translation to add support for cascading filesystem replacement for Laravel packages.
Laravel | Translation :----------|:---------- 5.5.x | 3.5.x 5.6.x | 3.6.x 5.7.x | 3.7.x 5.8.x | 3.8.x 6.x | 4.x 7.x | 5.x 8.x | 6.x
To install through composer, run the following command from terminal:
composer require "orchestra/translation"
Next replace Illuminate\Translation\TranslationServiceProvider with the following service provider in config/app.php.
'providers' => [
// ...
Orchestra\Translation\TranslationServiceProvider::class,
],
Translation Component make it easier to have redistribute packages language files, instead of relying on resources/lang/en/package/name/title.php you can now publish it under resources/lang/vendor/name/en/title.php making it easier to create repository (and publish it under Github) for a single packages or extension to handle multiple languages.