Change the language of Select Component

I have a form and that form has a Select component that has relationship with department table.

The problem that I faced is that when I change the language in create then select data stays in the same language and doesn't change.
I use Spatie/Translatable plugin.

The component with relationship is:
  Forms\Components\Select::make('department')
  ->relationship('department', 'name')
  ->preload()


Department Model:
    use HasTranslations;

    public $translatable = [
        'name'
    ];

    protected $fillable = [
        'name'
    ];


CreateJob.php
    use CreateRecord\Concerns\Translatable;

    protected static string $resource = JobResource::class;

    protected function getActions(): array
    {
        return [
            Actions\LocaleSwitcher::make(),
        ];
    }


Thank you.
Was this page helpful?