how do I get the active locale to be used in a translatable select
I have a translatable resource and this resource have a belongsTo relationship to another translatable resource
Both resources are created with the -S option
FaqCategory and Faq ar both translatable
When creating a new Faq, I have this:
It works, but I always get the 'English' name in the select
I can see that the trait on the has a getActiveTableLocale(), but as it's not a static methodI cannot call that in my resource, so how do I get the active locale
0 Replies