[QUESTION] Support multiple languages for the page content
Question
What we need is to create a page once but translate the text content in multiple languages. Imagine a very simple sample of a single text block saying "Hello" - we don't want to force the users to create another page with that same text block saying the same in different language. Imagine the page must be translated in 10 languages and the page has 20 text blocks - it would be too hard to do and maintain clones of the page containing the same components with just different texts (adding new text field would require adding it in every clone, which is something that nobody will do). Is there any way to do this with current GrapesJS like a drop-down which switches between different "sets" of text content so the user can choose a language and then go and change the text content for that language of whatever components he wants ?
I was thinking of storing the "data" object on StoreManager's "store" function on language change, but this will not work well if the user switches the language and adds new component - then the current language object and all other language objects will become different (other language objects not having the new component added for the current language).
Answers (3)
Closing s duplicate of https://github.com/artf/grapesjs/issues/2342
@varadero i18n module is on the roadmap cheers!
@pouyamiralayi But isn't that i18n mentioned there just a module that will allow you to translate GrapesJS itself, not the content that the user created ?
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2744
[QUESTION] Disable a block drag&drop
Hello everyone, I would like to make forbidden the drop of one block before another specific one. Context : i've create a new trait for som...
Issue #481
Question: Dragging blocks into a Text block?
This is not a bug but an implementation question. If this is not the right place to ask these questions, please let me know. We're working...
Issue #935
[QUESTION] In creating a custom block how do you create it's corresponding settings?
I want to make a link that will let the user enter the url for it or to let him choose a link to another page which he already created.
Issue #3091
[QUESTION] How to use grapesjs with static HTML
Sorry in advance for my English. I'm developing a CMS using Laravel and Vue.js. I want to use grapesjs for editing page content but with st...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.