Skip to content

Translation Component as a key/value to use it with Spatie Translatable FilamentPHP Plugin

License

Notifications You must be signed in to change notification settings

tomatophp/filament-translation-component

Repository files navigation

Cover

Filament Translation Component

Latest Stable Version PHP Version Require License Downloads

Translation Component as a key/value to use it with Spatie Translatable FilamentPHP Plugin

Screenshots

Light Dark

Installation

composer require tomatophp/filament-translation-component

Using

you can use the component on your form like this

use \TomatoPHP\FilamentTranslationComponent\Components\Translation;

Translation::make('title')
    ->label('Title')

you can change the language from the config file.

Publish Assets

you can publish config file by use this command

php artisan vendor:publish --tag="filament-translation-component-config"

you can publish languages file by use this command

php artisan vendor:publish --tag="filament-translation-component-lang"

Support

you can join our discord server to get support TomatoPHP

Docs

you can check docs of this package on Docs

Changelog

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

Security

Please see SECURITY for more information about security.

Credits

License

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