syriable/filament-translator
Convention-based automatic translations for Filament panels. Derives translation keys from class and component names to keep UI code free of hard-coded labels. Covers forms, tables, actions, resources/pages/widgets, importers/exporters, with aliases, macros, and dev-time key scaffolding.
configureUsing hooks and schema components, ensuring deep integration without requiring invasive changes to existing codebases. This makes it ideal for projects already using Filament (v4/v5) for admin panels or internal tools.lang directory structure and translation loading mechanisms, avoiding vendor lock-in.configureUsing hooks and schema component architecture. Future breaking changes in Filament (e.g., schema component APIs) could require package updates or custom forks.lang files on live systems). This requires clear documentation and CI/CD safeguards.func_num_args() guard for hintIcon() introduces version-specific quirks. Projects supporting multiple Filament versions may need conditional logic or runtime checks.App\Livewire) that require path aliases? If so, how will these be maintained across modules or microservices?createMissingTranslationKeys in production? This should be gated by environment checks or pre-deployment hooks.TranslatorPlugin on a single panel/resource to test convention-based resolution.createMissingTranslationKeys locally to scaffold initial translations.__() for static labels + conventions for dynamic ones) where needed.Filament\Schemas\Components\Component can be supported via config, but testing is required.lang directory structure (e.g., lang/en/, lang/es/) if not already present.TranslatorPlugin on all relevant panels.panel().createMissingTranslationKeys for local development.filament-translator.php.ConventionRegistry in a service provider for guest/auth routes.createMissingTranslationKeys (default).lang files.README or wiki.dd($this->getTranslationKey())) in schema components during development.{{ count }} item(s)).How can I help you explore Laravel packages today?