Skip to content

Translations not working in vue-email-editor Β #115

Open
@federicobartoli

Description

@federicobartoli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions