Nice to meet you, we're Vormkracht10
Hi! We're a digital agency from Nijmegen in the Netherlands and we use Laravel for everything: advanced websites with a lot of bells and whistles and large web applications.
Please read this documentation first: https://github.com/backstagephp/laravel-translations
You can install the package via composer:
composer require backstage/translations
You can publish and run the migrations with:
php artisan vendor:publish --provider="Backstage\Translations\Laravel\TranslationServiceProvider"
php artisan vendor:publish --provider="Backstage\Translations\Filament\TranslationServiceProvider"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="translations-config"
php artisan vendor:publish --tag="backstage-translations-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="backstage-translations-views"
Add the TranslationsPlugin to the desired panel provider:
use Backstage\Translations\Filament\TranslationsPlugin;
$panel
->plugins([
TranslationsPlugin::make(),
]);
Optionally, you can disable the language switcher and rely on the default
language:
use Backstage\Translations\Filament\TranslationsPlugin;
$panel
->plugins([
TranslationsPlugin::make()
->languageSwitcherDisabled(),
]);
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.