grav-plugin-flex-objects icon indicating copy to clipboard operation
grav-plugin-flex-objects copied to clipboard

Multi-language support

Open stephan-strate opened this issue 4 years ago • 3 comments
trafficstars

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!

stephan-strate avatar Jan 15 '21 13:01 stephan-strate

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.

mahagr avatar Jan 15 '21 17:01 mahagr

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.

stephan-strate avatar Jan 15 '21 18:01 stephan-strate

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

mahagr avatar Jan 16 '21 08:01 mahagr