-
- 97 Posts
Hi, i'm working on a multilingual Website.
I'd like to use MigxDb to create a custom cmp for "partners" section. Is there a userfriendly approach to use MigxDb with several languages?
Sure, I can create a single cmp for every language, but it will be quiet difficult to use it.
It would be nice to heve something like separate tab with grid for every language inside single cmp, based on existing contexts (I'll have a context for every language), but how the data can be stored?
So I do really need some direction, from what to begin.
Thx.
-
- 5,888 Posts
couldn't you have fields for every language in your table like
title_en, title_de, title_fr, title_it
and have a formtab for each language?
You can also have another connected table, which holds all translatable fields like
title
description
lang_key
partner_id
also then, you could have each language in another formtab, but you might need some custom code in some processors then.
multiple grids under different tabs is also possible, of course
You would create a menu with a query-parameter like
&configs=partners_de||partners_en||partner_fr
where each is another MIGX - configuration