tomatophp/filament-translations

Manage your translation with DB and cache, you can scan your languages tags like trans(), __(), and get the string inside and translate them use UI.

v1.0.4 2024-04-17 09:07 UTC

This package is auto-updated.

Last update: 2024-04-17 09:08:01 UTC


README

Screenshot of Login

Filament translations

Latest Stable Version PHP Version Require License Downloads

Manage your translation with DB and cache, you can scan your languages tags like trans(), __(), and get the string inside and translate them use UI.

this plugin is build in spatie/laravel-translation-loader

Screenshots

Screenshot of list Screenshot of edit Screenshot of settings

Installation

composer require tomatophp/filament-translations

Publish Resource

you can publish the resource to your project

php artisan vendor:publish --tag="filament-translations-migrations"

if you need to publish config

php artisan vendor:publish --tag="filament-translations-config"

Run migration:

php artisan migrate

and now clear cache

php artisan optimize:clear

finally reigster the plugin on /app/Providers/Filament/AdminPanelProvider.php

$panel->plugin(\TomatoPHP\FilamentTranslations\FilamentTranslationsPlugin::make())

Publish Assets

you can publish config file by use this command

php artisan vendor:publish --tag="filament-translations-config"

you can publish views file by use this command

php artisan vendor:publish --tag="filament-translations-views"

you can publish languages file by use this command

php artisan vendor:publish --tag="filament-translations-lang"

you can publish migrations file by use this command

php artisan vendor:publish --tag="filament-translations-migrations"

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.