dive-be / nova-translation-editor
A Laravel Nova tool for editing your translation strings.
Installs: 3 656
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- laravel/framework: ^9.0
- laravel/nova: ^3.31
Requires (Dev)
README
⚠️ Minor releases of this package may cause breaking changes as it has no stable release yet.
Installation
composer require dive-be/nova-translation-editor
You must publish and run the migrations to create the language_lines
table:
php artisan vendor:publish --provider="Dive\NovaTranslationEditor\ToolServiceProvider" --tag="migrations" php artisan migrate
Optionally you could publish the config file using this command.
php artisan vendor:publish --provider="Dive\NovaTranslationEditor\ToolServiceProvider" --tag="config"
Register the tool in NovaServiceProvider
.
public function tools() { return [ new NovaTranslationEditor(), ]; }
Publish the translations via the nova tool or via command line:
php artisan nova-translation-editor:publish
Usage
TODO
Credits
License
The MIT License (MIT). Please see License File for more information.