afsakar/filament-translate-action

Translate action for FilamentPHP
3,768 38
Install
composer require afsakar/filament-translate-action
Latest Version:v1.2.1
PHP:^8.1
Laravel:10 · 11
License:MIT
Last Updated:Jun 22, 2026
Links: GitHub  ·  Packagist
Maintainer: afsakar

Translate action for FilamentPHP

Latest Version on Packagist Total Downloads

Screenshot

This package provides a simple action to translate fields in FilamentPHP.

Installation

You can install the package via composer:

composer require afsakar/filament-translate-action

You can publish the config file with:

php artisan vendor:publish --tag="filament-translate-action-config"

This is the contents of the published config file:

return [
    'laravellocalization' => true, // if you use mcamara/laravel-localization package you can set this to true

    // if you don't use mcamara/laravel-localization package you can set your locales here
    'locales' => [
        'tr' => 'Türkçe',
        'en' => 'English',
    ],
];

Usage

...

RichEditor::make('body')
    ->label('Body')
    ->translatable() // add this line to make field translatable. That's it!
    ->required(),
    
...

Screenshot

Screenshot

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

afsakar/filament-otp-login

OTP Login for FilamentPHP

33,062 66
afsakar/filament-leaflet-map-picker

A Filament Forms component that provides an interactive Leaflet map for selectin...

14,446 40
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441

Version History

Version Released PHP Laravel License
v1.2.1 ^8.1 ^10.0|^11.0 MIT
v1.2 ^8.1 ^10.0|^11.0 MIT
v1.1.0 ^8.1 ^10.0|^11.0 MIT
v1.0.2 ^8.1 ^10.0 MIT
v1.0.1 ^8.1 ^10.0 MIT