BoltTranslate / Translate

Provides translation for contenttypes.
Other
43 stars 38 forks source link

[RFC] Add support for translatable contentblocks #172

Closed blaues0cke closed 6 years ago

blaues0cke commented 6 years ago

So it would be great to add support for translating contentblocks like:

pages:
    name: Seiten
    slug: seiten
    singular_slug: seite
    singular_name: Seite
    fields:
        title:
            type: text
            group: content
            label: Titel
        slug:
            type: slug
            uses: title
            label: Titel
        contentblocks:
            type: block
            label: Blöcke
            group: content
            fields:
                anchor_block:
                    label: Anker
                    fields:
                        anchor_id:
                            type: text
                            label: Anker-ID

It seems not to work right now since bolt will crash I add the extra fields (https://bolttranslate.github.io/Translate/example.html) to my contenttypes.yml.

SvanteRichter commented 6 years ago

Currently this is not worked on. It'd be great to have, and if you get it working please submit a PR.

ankedsgn commented 5 years ago

Just leaving my comment here, since right now we're working on a site that's leaning heavily on contentblocks and the translate extension. So one way or another we will get it working, just not sure if it will involve a (possibly dirty) workaround or a proper PR. We'll keep you posted!

/tagging @bobdenotter / @jadwigo