A package to automatically translate CRUD models and forms in litstack via the DeepL api.
Install the package via composer.
composer require litstack/deeplablePlease follow the steps for setting up the aw-studio/laravel-deeplable package.
The package ships with 2 actions:
Litstack\Deeplable\TranslateAction- Translates a single model/formLitstack\Deeplable\TranslateAllAction- Translates all models configured in thedeeplable.modelsconfig
Example:
$page->headerLeft()->action('Übersetzen', TranslateAction::class);You may add the following models to the deeplable.models config:
Ignite\Crud\Models\FormIgnite\Crud\Models\Repeatable