litstack / deeplable
Installs: 1 321
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- aw-studio/laravel-deeplable: ^0.9.1
- litstack/litstack: ^3.1.2
Requires (Dev)
- litstack/rehearsal: ^1.0.1
- mockery/mockery: ^1.4
- phpunit/phpunit: ^9.4
README
A package to automatically translate CRUD models and forms in litstack via the DeepL api.
Setup
Install the package via composer.
composer require litstack/deeplable
Please follow the steps for setting up the aw-studio/laravel-deeplable package.
Usage
The package ships with 2 actions:
Litstack\Deeplable\TranslateAction
- Translates a single model/formLitstack\Deeplable\TranslateAllAction
- Translates all models configured in thedeeplable.models
config
Example:
$page->headerLeft()->action('Übersetzen', TranslateAction::class);
You may add the following models to the deeplable.models
config:
Ignite\Crud\Models\Form
Ignite\Crud\Models\Repeatable