novius/laravel-nova-translation

A Nova tool to manage application's translations.

3.2.0 2024-04-26 07:37 UTC

This package is auto-updated.

Last update: 2024-10-26 08:41:29 UTC


README

Travis Packagist Release Licence

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

Requirements

  • PHP >= 8.1
  • Laravel Nova >= 4.0
  • Laravel Framework >= 9.0

NOTE: These instructions are for Laravel >= 9.0 and Laravel Nova >= 4.0 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.