Filament: Multi-language with Switcher

Multi-language in Filament consists of a few layers: Laravel translations, Filament core translations, and Resource translations. We collected an example of a fully-translated single Filament Resource, including a language switcher dropdown in the top-right corner.

15-multi-language-switcher

Get the Source Code:

How it works

We use a bezhansalleh/filament-language-switch package to add a language switcher to the top navigation.

All language files are published.

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

We set available languages in the packages config file. The config file can be published by running the artisan command:

php artisan vendor:publish --tag="filament-language-switch-config"

In the Resource, we...

The FULL tutorial is available after the purchase: in the Readme file of the official repository you would get invited to.
Get the Source Code: All 50 Premium Examples for $99 Only Project Examples for $59