Skip to content

[Bug] i18n for default tunes not working #1661

Closed

Description

@NogaMan

Describe a bug.

Steps to reproduce:

  1. Follow your tutorial on 18n to translate block tunes
  2. Realize it does not work

Other translations from the tutorial work well

the version I use is 2.20.2

...
      blockTunes: {
        "delete": {
          "Delete": "Удалить"
        },
        "moveUp": {
          "Move up": "Переместить вверх"
        },
        "moveDown": {
          "Move down": "Переместить вниз"
        }
      },
...

Expected behavior: it works

Screenshots:

Снимок экрана 2021-04-16 в 20 09 57

Снимок экрана 2021-04-16 в 20 12 47

Device, Browser, OS: macos chrome

Editor.js version: 2.20.2

Plugins you use with their versions:

paragraph 2.8.0
header 2.6.1
image 2.6.0

Activity

  1. rety14 commented on Apr 22, 2021

    @rety14

    In version 2.20.* use deleteTune, moveUpTune and moveDownTune.

    Example

    blockTunes: { "deleteTune": { "Delete": "Удалить" }, "moveUpTune": { "Move up": "Переместить вверх" }, "moveDownTune": { "Move down": "Переместить вниз" } },

  2. christoph-kluge commented on May 14, 2021

    @christoph-kluge

    @rety14 thank you - blockTunes are now translated again 👍

    Besides that it seems that all plugin translations are not working anymore.

  3. Broutard commented on May 21, 2021

    @Broutard

    i18n API seems broken since v2.20.0.
    All my translation didn't appear since the release (tested with 2.19.3 and works fine).

  4. stephannv commented on May 28, 2021

    @stephannv

    I'm using v.2.21.0 and followed docs example (https://editorjs.io/internationalization#example) and didn't work blockTunes, stub, Add a link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions