var editor = grapesjs.init({
fromElement: true,
container: '#gjs',
//style: '.txt-red{color: red}',
i18n: {
//de: gjsDE,
locale: 'de', // default locale
// detectLocale: true, // by default, the editor will detect the language
//localeFallback: 'de', // default fallback
//messages: { gjsDE },
},
plugins: ['grapesjs-mjml', 'gjs-plugin-ckeditor', 'inlineStorage'],
pluginsOpts: {
'grapesjs-mjml': {i18n: {de: mjmlCS}},
'gjs-plugin-ckeditor': {},
},
storageManager: { type: 'inline' }
});
editor.I18n.addMessages({
de: gjsDE
});
Some texts are translated and some not. Some are translated only after I click some tool button, then its translated.
For example Top bar button Sesttins. Its in EN, After I click this button then its translated to my own language.
Why?
Code of Conduct
[X] I agree to follow this project's Code of Conduct
GrapesJS version
What browser are you using?
Chrome 111
Reproducible demo link
https://jsfiddle.net/zfkuq7sh/
Describe the bug
Some texts are translated and some not. Some are translated only after I click some tool button, then its translated. For example Top bar button Sesttins. Its in EN, After I click this button then its translated to my own language. Why?
Code of Conduct