Are you an African looking out for a Laravel Translation management for Any of your Native African Languages well we bring u AfricanLang for your Laravel application
Translation management for your Laravel application.
------
## About Laravel Translation
Laravel Translation is a package for Laravel 5 which allows you full control
over your translations when using Laravel's
localization functionality.
The package allows you to manage your translations using either the native file
based translations, but also provides a database driver which is useful in
multi-server setups.
It exposes a user interface allowing you to update existing and add new
translations to your application.
Below are a full list of features:
- File and database drivers
- Database translation loader (automatically load translations from the database
when Laravel's translation retrieval methods and the database driver)
- User interface to add new languages and add and update translations
- Artisan commands to manage your translations
- Scan your application for missing translations
## Installation
Install the package via Composer
`composer require joedixon/laravel-translation`
Publish configuration and assets
`php artisan vendor:publish --provider="JoeDixon\Translation\TranslationServiceProvider"`
The service provider is loaded automatically using package discovery.
## Usage
### Configuration
The package ships with a configuration file called `translation.php` which is published to the
config directory during installation. Below is an outline of the settings.
```
driver [file|database]
```
Choose either `file` or `database`. File translations utilise Laravel's native
file based translations and includes support for both `array` based and `json` based
language files.
```
route_group_config.middleware [string|array]
```
Apply middleware to the routes which ship with the package. For example, you may
which to use the `auth` middleware to ensure package user interface is only
accessible to logged in users.
```
translation_methods [array]
```
Choose which of Laravel's translation methods to use when searching for missing
translation keys. …