Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

name field localisation (spatie/laravel-translatable) #608

Open
scramatte opened this issue Nov 30, 2024 · 0 comments
Open

name field localisation (spatie/laravel-translatable) #608

scramatte opened this issue Nov 30, 2024 · 0 comments

Comments

@scramatte
Copy link

Hi,

I'm using spatie/laravel-translatable to localize my data.
I would like to use it for nested tree too.

Basically, instead of using a plain string, they store variants as JSON data
{"en": "root", "es": "raiz", "fr": "racine"}

I've looked at the code, but I'm unable to find an easy way to achieve it.
Can you please give me a hand with such issue?

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant