vue-email-editor icon indicating copy to clipboard operation
vue-email-editor copied to clipboard

Translations not working in vue-email-editor

Open federicobartoli opened this issue 11 months ago • 4 comments

Description

Unable to change editor language from English despite trying multiple approaches with locale and translations.

Steps to Reproduce

  1. Set locale to 'it-IT' either via prop or options
  2. Provide translations object
  3. Editor remains in English

Code Example

// Approach 1: Direct prop

<EmailEditor locale="it-IT" /> // Approach 2: Via options

const editorConfig = {
locale: 'it-IT',
translations: {
'it-IT': {
'widgets.content.button.name': 'Bottone',
'widgets.buttons.add_content': 'Aggiungi contenuto',
// ... other translations
}
}
}
<EmailEditor :options="editorConfig" />

Current Behavior

  • Editor always displays in English
  • No console errors
  • Callbacks are successful

Expected Behavior

Editor should display in Italian when locale is set to 'it-IT'

Environment

  • Vue 3.5.13
  • Browser: Chrome/Safari
  • OS: macOS 24.1.0

Questions

  1. Is translation support working in this version?
  2. What is the correct way to set translations?

Any help appreciated.

federicobartoli avatar Dec 27 '24 16:12 federicobartoli

I have this issue too!

agiovinazzi avatar Dec 28 '24 10:12 agiovinazzi

+1 not working in fresh installation

jhoanborges avatar Mar 13 '25 18:03 jhoanborges

I'm having the same issue, any updates on this or possible workarounds?

sebnor avatar Sep 09 '25 12:09 sebnor

Seems like changing most settings including the locale requires the projectid to be correctly set and also the Allowed domains in https://console.unlayer.com/ to be configured.

Project -> Builder -> Settings -> Allowed Domains

When i added my localhost url: https://myproject.localhost:8080 it converted it to -> myproject.localhost and immediately all settings started working in the editor.

sebnor avatar Sep 10 '25 07:09 sebnor