Spatie Translatable

I've installed the package, added trait to model and translatable property, added languages in the config, but the language switcher is empty. Is there anything else I need to do? #spatie-translatable
5 Replies
deveti
devetiOP2y ago
Also noticed that title is displayed as object instead of value on edit screen
deveti
devetiOP2y ago
I think I figured this one on my own. I added language switcher to seperate action pages, but I did not add the Translatable trait. Also, each action page has different import! This could be added to the docs for less confusion @Dan Harrin
Dan Harrin
Dan Harrin2y ago
I'm happy with how it is right now, each import path contains the name of the page in the docs
deveti
devetiOP2y ago
Yeah it looks like I missed it I do have another question though: I have an entity with simple relation to itself (parent_id). I am displaying it's title in the select on the form and table. Is it possible to have this using translation from current language? It only show in the first language you create the record. Any ideas?
Anik
Anik2y ago
Hi, the table switcher is not working correctly on Spatie tags list page, but working on view/edit page. Last reference https://discord.com/channels/883083792112300104/914836965076135936/1079470356760383529

Did you find this page helpful?