mominalzaraa/filament-localization
Automatically localize your Filament app: this package scans resources, fields, columns, actions, and components, then generates structured translation filesβeliminating the repetitive manual work of adding translation keys. Requires PHP 8.3+, Laravel 12/13, Filament 5.
Action::make(), including EditAction::make(), DeleteAction::make(), CreateAction::make(), BulkAction, RestoreAction, ForceDeleteAction, and other common action types. Unnamed ::make() calls (Filament v5 style) are supported.SelectFilter, TernaryFilter, TrashedFilter, etc.) instead of a generic Filter::make() pattern, so filters with existing labels are handled correctly and missing labels are added reliably.UserTable::configure()) are now analyzed, translated, and modified alongside columns.$heading property, getHeading()), stat descriptions, and additional widget text via ->heading(), ->title(), and related helpers.UnitEnum|string), and getNavigationGroup() wrapping.CreateAction::make() without name, and literal ->label() handling.getTitle() with __() when still using the Filament base implementation.RelationManager::class resolution in filament:localize.ResourceAnalyzer and RelationManagerAnalyzer.laravel/framework: ^12.0|^13.0.^8.3 (from ^8.2 in v2.0.1) to align with Laravel 13's minimum PHP version.^10.0|^11.0.^8.3|^8.4|^8.5 to ^8.2 so the package can be used on PHP 8.2, 8.3, 8.4, and 8.5 (e.g. servers on 8.4 until 8.5 is available).^8.3|^8.4|^8.5. v2.x supports PHP 8.3, 8.4, and 8.5 only.^4.0 β ^5.0. v2.x is Filament 5 only; use v1.x for Filament 4.^8.2|^8.3|^8.4 β ^8.3|^8.4|^8.5. PHP 8.2 is no longer supported in v2.x.π€ DeepL API Integration (NEW): Full translation service with intelligent detection of untranslated content
filament:translate-deepl command for translating existing translation filesπ Widget Localization Support (NEW): Complete widget detection and localization
processWidget() method to LocalizationServiceπ RelationManager Localization (NEW): Full support for Filament relation managers
processRelationManager() method to LocalizationServiceπ Page Localization Support (NEW): Complete page detection and localization
processPage() method to LocalizationServiceπ¨ Laravel Pint Integration (NEW): Added Laravel Pint for consistent code styling
π° Funding Configuration (NEW): Added GitHub Sponsors funding support
π― Enhanced Resource Analyzer: Significant improvements to ResourceAnalyzer
π§ Enhanced Resource Modifier: Major improvements to ResourceModifier
π Enhanced Translation File Generator: Improvements to TranslationFileGenerator
π§ͺ Enhanced Testing: Expanded test coverage
βοΈ Configuration Improvements: Enhanced configuration options
π Documentation Updates: Comprehensive documentation improvements
π§ Enhanced Composer Package Handling: Improved package metadata and dependencies
π¨ Code Style Workflows: Added GitHub Actions workflows for code style
π¦ New Command: Added CheckDependenciesCommand
πΈ Documentation Improvements: Enhanced README and package documentation
π CI/CD Improvements: Consolidated and improved GitHub Actions workflows
π― Resource Analyzer Enhancements: Improved resource detection and analysis
π Code Quality: Multiple code style fixes
How can I help you explore Laravel packages today?