sepremex/filament-translation-editor is a Laravel package for manage language files with ease..
It currently has 0 GitHub stars and 64 downloads on Packagist (latest version 1.0.6).
Install it with composer require sepremex/filament-translation-editor.
Discover more Laravel packages by sepremex
or browse all Laravel packages to compare alternatives.
Last updated
π€ A real translation manager for Laravel 12 + Filament 3 β zero migrations, zero excuses.
Local Docker (Free):
docker run -d -p 5000:5000 --name libretranslate libretranslate/libretranslate:latest
Configuration:
FILAMENT_TRANSLATION_AUTO_TRANSLATE=true
FILAMENT_TRANSLATION_PROVIDER=libretranslate
LIBRETRANSLATE_URL=http://localhost:5000
# API key optional for most instances
LIBRETRANSLATE_API_KEY=
FILAMENT_TRANSLATION_PROVIDER=microsoft
MICROSOFT_TRANSLATOR_KEY=your_key_here
MICROSOFT_TRANSLATOR_REGION=eastus
FILAMENT_TRANSLATION_PROVIDER=google
GOOGLE_TRANSLATE_KEY=your_api_key_here
---# Filament Translation Editor
π€ A real translation manager for Laravel 12 + Filament 3 β zero migrations, zero excuses.
β οΈ EARLY RELEASE WARNING: This is an early version under active development. While extensively tested in development environments, use with caution in production. Always backup your translation files before use. See Production Usage below.
This plugin is in early development and, while functional, may contain bugs or edge cases not yet discovered. I am not responsible for any data loss, corruption, or issues that may arise from using this plugin.
/lang/ directory and any vendor translation filesstorage/logs/laravel.log for translation service errors// Enable backups (strongly recommended)
'create_backup' => true,
// Disable auto-save for more control
'auto_save_changes' => false,
// Consider disabling auto-translate initially
'auto_translate' => ['enabled' => false],
You have been warned. Use at your own risk. π«‘
/lang/{locale}, /lang/{locale}.json)/lang/vendor/{package}/{locale}<~> notation (e.g., validation<~>between<~>string)Just to set expectations:
composer require sepremex/filament-translation-editor
Add it to your Filament panel:
->plugin(\Sepremex\FilamentTranslationEditor\FilamentTranslationEditorPlugin::make())
php artisan vendor:publish --provider="Sepremex\FilamentTranslationEditor\FilamentTranslationEditorServiceProvider"
php artisan vendor:publish --tag=filament-translation-editor-config
php artisan vendor:publish --tag=filament-translation-editor-views
php artisan vendor:publish --tag=filament-translation-editor-translations
Available at: config/filament-translation-editor.php
'path' => 'lang',
'auto_save' => false,
'key_separator' => '<~>', // not in use from config yet...
'per_page' => 20, // secret for next stage...
'search_enabled' => true,
'include_vendor_languages' => true,
'vendor_namespace' => 'vendor',
'default_locale' => 'en',
Golden Rule: Always search for a key before adding it.
β Don't: Add `user.name` when `user` already exists as a string
β
Do: Search "user" first, then decide wisely
The plugin will auto-sync your new keys across all languages, but it won't fix your poor life choices.
Use <~> for nested structures:
β
Good: validation<~>email<~>required β 'validation' => ['email' => ['required' => 'value']]
β Bad: validation.email.required β 'validation.email.required' => 'value'
Dots (.) are literal β they're part of the key, not separators. Don't be that person.
When you add/remove keys, they automatically sync to other languages:
User β user β Laravel cares, so should youRemember: The plugin is smarter than your average developer, but it can't fix stupidity or API outages.
I wanted it clean and elegant...
But Filament had other plans.
So here we are β custom pages, magical readers, zero database migrations, auto-sync wizardry, and translation APIs that may or may not work when you need them most.
You're welcome... and you're warned.
Use it. Abuse it. Translate responsibly. Backup religiously.
Built with sarcasm, auto-sync magic, questionable life choices, and β€οΈ by [Sepremex].
This software is provided "as is" without warranty of any kind. The author is not responsible for:
Use at your own risk. Backup your stuff. Test before deploying.
MIT β porque lo bueno se comparte, excepto la responsabilidad legal.