Auto Discovering laravel plugins json translations

When develponing laravel plugin and register json localization with (loadJsonTranslationsFrom) its work inside laravel application, but i think filament not descovering this localization automaticlly, am asking for help letting other plugins json localizations work in filament
3 Replies
Lara Zeus
Lara Zeus8mo ago
are you using Spatie\LaravelPackageTools in your package? make sure to check: https://github.com/filamentphp/plugin-skeleton/blob/main/src/SkeletonServiceProvider.php
abdosaeedelhassan
abdosaeedelhassanOP8mo ago
@Lara Zeus No, iam only use laravel ServiceProvider and in boot method attach localization file with loadJsonTranslationsFrom
Dennis Koch
Dennis Koch8mo ago
Filament uses Laravels localization system so it should work the same way

Did you find this page helpful?