orchestra/translation

Translation Component for Orchestra Platform
463,165 8
Install
composer require orchestra/translation
Latest Version:v6.0.0
PHP:^7.4 || ^8.0
License:MIT
Last Updated:Apr 17, 2021
Links: GitHub  ·  Packagist
Maintainer: crynobone

Orchestra Platform Translation Component

Translation Component extends the functionality of Illuminate\Translation to add support for cascading filesystem replacement for Laravel packages.

tests Latest Stable Version Total Downloads Latest Unstable Version License Coverage Status

Table of Content

Version Compatibility

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

Installation

To install through composer, run the following command from terminal:

composer require "orchestra/translation"

Configuration

Next replace Illuminate\Translation\TranslationServiceProvider with the following service provider in config/app.php.

'providers' => [

    // ...

    Orchestra\Translation\TranslationServiceProvider::class,

],

Usage

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.

Related Packages

dinghua/crm

CMS Extension for Orchestra Platform

2 0
orchestra/transporter

Migration Toolkit: Creating ORM Compatible Structure from Legacy Database

141 2
orchestra/extension

Extension Component for Orchestra Platform

97,718 4
orchestra/story

CMS Extension for Orchestra Platform

9,988 14
unicorn/lumen-testbench-core

Lumen fork of orchestra/testbench-core - Testing Helper for Lumen Development

1,231 0