novius / laravel-nova-translation
A Nova tool to manage application's translations.
Installs: 12 746
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 4
Open Issues: 0
Requires
- php: >=8.1
- laravel/nova: ~4.0
- novius/laravel-translation-loader: ^3.2.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.8.0
README
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.