novius/laravel-nova-translation

A Nova tool to manage application's translations.

2.1.0 2021-05-06 15:18 UTC

This package is not auto-updated.

Last update: 2021-11-18 18:07:38 UTC


README

Travis Packagist Release Licence

A Nova tool to manage application's translations. This package uses novius/laravel-translation-loader.

Requirements

  • PHP >= 8.0
  • Laravel Nova >= 3.0
  • Laravel Framework >= 7.0

NOTE: These instructions are for Laravel 7.x and 8.x. If you are using prior version, please see the previous version's docs.

Installation

Step 1 :

composer require novius/laravel-nova-translation

Step 2 :

Follow instructions of novius/laravel-translation-loader

Step 3 :

Publish languages files:

php artisan vendor:publish --provider="Novius\LaravelNovaTranslation\LaravelNovaTranslationServiceProvider" --tag="lang"

Configuration

Some options that you can override are available.

php artisan vendor:publish --provider="Novius\LaravelNovaTranslation\LaravelNovaTranslationServiceProvider" --tag="config"

Lint

Run php-cs with:

composer run-script lint

Contributing

Contributions are welcome! Leave an issue on Github, or create a Pull Request.

Licence

This package is under GNU Affero General Public License v3 or (at your option) any later version.