Translate Action
Translate your forms content with the click of a button.
Author:
Dennis Koch
Documentation

Translate your models with a single action click via DeepL.
#Installation
composer require pxlrbt/filament-translate-action
#Usage
#Set an API Key
Setup a free account on DeepL. You can get your API key from your account page: https://www.deepl.com/de/account/summary.
Then configure the API key in your AppServiceProvider:
use pxlrbt\FilamentTranslateAction\Filament\Actions\TranslateAction
public function boot(): void
{
// ...
TranslateAction::apiKey('your-api-key');
// ...
}
#Use the action
Add the action to the header actions for your page. You can specify the sourceLocale otherwise it will default to en.
class EditUser extends \Filament\Resources\Pages\EditRecord
{
// ...
protected function getHeaderActions(): array
{
return [
TranslateAction::make()
->sourceLocale('de'),
];
}
}
#Contributing
If you want to contribute to this packages, you may want to test it in a real Filament project:
- Fork this repository to your GitHub account.
- Create a Filament app locally.
- Clone your fork in your Filament app's root directory.
- In the
/filament-translate-actiondirectory, create a branch for your fix, e.g.fix/error-message.
Install the packages in your app's composer.json:
"require": {
"pxlrbt/filament-translate-action": "dev-fix/error-message as main-dev",
},
"repositories": [
{
"type": "path",
"url": "filament-translate-action"
}
]
Now, run composer update.
#Credits
The author
Dennis, a Filament core-team member, is dedicated to delivering high-quality plugins for your Filament projects. He is a freelance full-stack developer who works on several Laravel projects either individually or as part of small teams. In his work, he utilizes both Livewire and Inertia.
From the same author
Favicon
Easiest way to add favicons to your table and schemas
Author:
Dennis Koch
Activity Log
Add a Filament page that nicely shows your spatie/laravel-activitylog.
Author:
Dennis Koch
Spotlight Pro
Browse your Filament Panel with ease. Filament Spotlight Pro adds a Spotlight/Raycast like Command Palette to your Filament Panel.
Author:
Dennis Koch
Changelog
Render a changelog inside your panel based on your GitHub releases. Works with private repos.
Author:
Dennis Koch
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission