Skip to content

novius/laravel-nova-translation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nova translations manager

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.