GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.36k stars 4.05k forks source link

Change edito language #2759

Closed grodriguez88 closed 4 years ago

grodriguez88 commented 4 years ago

Hi

I'm trying to change the editor language, I've added this lines in grapesjs.init:

i18n: {
                locale: 'it', // default locale
                localeFallback: 'it', // default fallback
                messages: { it },
            }

But this not works for me.

Thanks in advance

ZaheerNiazi007 commented 1 year ago

@grodriguez88 please update your grapes js version

i18n: {
  locale: "en",
  detectLocale: false,
  messagesAdd: {
    en: en,
  },
},
and use this 
mine is working perfectly