Localisation of components #5160
Unanswered
jordandevogelaere
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I read several questions about localisation of the content of the components itself but without any clear answer. Is there any code example I can use or do you have tips how I can extend the basic blocks to support localisation of the content?
I want to achieve something like this:
"components": [ { "type": "text", "attributes": { "id": "iee1" }, "components": [ { "tagName": "b", "type": "text", "attributes": { "id": "ichl", "title": "Test" }, "components": [ { "languageId": "fr", "type": "textnode", "content": "Voici mon texte" }, { "languageId": "en", "type": "textnode", "content": "This is my text" } ] } ] } ]
Beta Was this translation helpful? Give feedback.
All reactions