Replies: 1 comment
-
Voyager supports multiple languages for your models. To get started, you need to configure the languages. Take a look at its doc: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to build multilingual site with voyager admin panel, I know how to use spatia when creating all controllers by my own, but got lost in voyager,
when I'm adding spatia related rules in model, I get properly formatted column in database
{"en":"Matrix"}, and when I add second language in this column manually,
{"en":"Matrix","ka":"მატრიცა"}, change language works in blade,
I just can't add second language in this column from "add new post" page
I had Idea to combine two input fields when adding some new items, like this,
'title' => ['en'=> $request->title_en,
'ka'=> $request->title_ka ],
but I don't know where to find this $request
I wonder maybe there is easier way to adapt spatia with voyager without losing voyagers's flexibility
Stackoverflow didn't answer my question but you can also there
Beta Was this translation helpful? Give feedback.
All reactions