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.
Fund package maintenance!
3x1io
Requires
- php: ^8.1|^8.2
- filament/filament: ^3.0.0
- filament/notifications: ^3.0.0
- maatwebsite/excel: ^3.1
- spatie/laravel-translation-loader: ^2.7
- tomatophp/console-helpers: ^1.1
- tomatophp/filament-developer-gate: ^1.0
This package is auto-updated.
Last update: 2024-04-17 09:08:01 UTC
README
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.
this plugin is build in spatie/laravel-translation-loader
Screenshots
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.