Issue #2713πŸ’¬ AnsweredOpened April 15, 2020by Lerdouille0 reactions

Issue with i18n

Quick answerby artf

@Lerdouille it's all explained here https://grapesjs.com/docs/modules/I18n.html

Read full answer below ↓

Question

Hi, first of all thank you for this awesome plugin. Sorry for the request, but i spent a few hours to look for the answer on this github page and other documentations but i can't find the good solution to use i18n on this plugin... and translate the editor in french for example... I see in the src folder the locale directory with its configuration and all the languages available but how can i configure the plugin to force the locale ? Here is the basic javascript code : var editor = grapesjs.init({ showOffsets: 1, noticeOnUnload: 0, container: '#gjs', height: '100%', width: 'auto', fromElemen...

Answers (2)

Lerdouilleβ€’ April 16, 2020

Hi @artf , i saw the documentation and the part reguarding i18n but i didn't succed to use it. In your documentation, you use some import function, basically my code is pretty simpler and without import, like this : <html> <body> <link rel="stylesheet" href="...

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.