Issue #2342Opened October 18, 2019by senchden0 reactions

[Feature request] Localisable component text based on page language

Question

It would be great to create pages that would share the component layout, but allow to edit text for each component based on language value set externally (one page per language). Not sharing layout per language is not optimal since if a user edits not only the component text, but also the page layout, all pages in other languages must be edited to use the new layout, which is not easily maintainable. Personally, I envision this as component inner text not being propagated to HTML inner text on export, but rather as pairs of component id (or text key) and text values.

Answers (3)

artfOctober 19, 20190 reactions

I18n module is already in the roadmap

senchdenOctober 21, 20190 reactions

Does this module have any tentative date of implementation?

varaderoNovember 6, 20190 reactions

Looking at the branch named i18n and i18n module code here: https://github.com/artf/grapesjs/tree/i18n/src/i18n it looks like this module is not for localizing page content that the users are creating but just the GapesJS interface itself, is that right @artf ? We also would like to have module that will enable the users to provide different texts of the pages they create for different languages. If the i18n module on the roadmap is not about supporting different page languages, do you have an idea how can we implement it in a "GrapesJS" way ?

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.