© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago
Darui

Spatie Translatable inheriting the relation manager's active locale from the resource page 404 error

Hi everyone,
I'm very new to Laravel and Filament and I'm loving it already. I'm trying out Spatie Translatable and trying to inherit the active locale from the owner resource. It is working following this documentation https://filamentphp.com/plugins/filament-spatie-translatable#inheriting-the-relation-managers-active-locale-from-the-resource-page.

But when I delete the owner resource record on the edit page, after clicking confirm, it displays a 404 page in a modal.
Here's the snippet from the relation manager:
use Translatable;

#[Reactive]
public ?string $activeLocale = null;

protected static string $relationship = 'blocks';

public function form(Form $form): Form
{
return BlockResource::form($form);
}

There is no error or log. Just a 404 in a modal (see attached).
Can anyone please explain what's happening and how I can resolve this issue?

Thanks!
image.png
Filament
Spatie Translatable by Filament - Filament
Filament support for Spatie's Laravel Translatable package.
Spatie Translatable by Filament - Filament
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Inheriting the relation manager's active locale from the resource page
FilamentFFilament / ❓┊help
3y ago
Spatie Translatable relation manager locale
FilamentFFilament / ❓┊help
3y ago
Relation manager issue with spatie/translatable
FilamentFFilament / ❓┊help
2y ago
Translatable Relation manager
FilamentFFilament / ❓┊help
3y ago