trilbymedia / grav-plugin-flex-objects

Powerful and supremely flexible object support for Grav
MIT License
41 stars 10 forks source link

Multi-language support #98

Open stephan-strate opened 3 years ago

stephan-strate commented 3 years ago

Maybe this is another documentation question, but is there any way to translate flex objects? Even contacts might need translation with another email address or website. We also added company and position, where position would need a translation. I know, we could "just" create an object for each language. But this would just look ugly in admin. I would like to have something like pages already do.

Greetings. Keep up the good work!

mahagr commented 3 years ago

Right now the translation support has been added only to the pages.

I have been thinking about how the multi-language should look like, but I've not yet decided what is the best approach to do it.

stephan-strate commented 3 years ago

Do you have any recommendations regarding implementing rudimentary "clean" multi-language support right now (apart from adding a field for each language)? Or can we assist doing it?

Maybe this would be a good point for the "Known Limitations" section.

mahagr commented 3 years ago

Well, a lot of it is already there and used with pages (which seems to work fine). It's mostly about how to make it more generic -- and to find some time (or money) to do that.

I will add a list of limitations into the documentation here: https://learn.getgrav.org/17/advanced/flex