From 216928b0e28189f9c937a19e39b13f2237dee01c Mon Sep 17 00:00:00 2001 From: Arye Borgan <72888630+Ary428@users.noreply.github.com> Date: Tue, 30 May 2023 10:14:59 +0300 Subject: [PATCH] Added I18n support to README This commit includes details about the tool's support for the i18n API, including how to localize UI labels using the i18n dictionary in the `tools` section. A link to more instructions on Editor.js internationalization was also added. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index d862482f..a163f366 100644 --- a/README.md +++ b/README.md @@ -120,3 +120,18 @@ Object `Item`: } }, ``` +## I18n support + +This tool supports the [i18n api](https://editorjs.io/i18n-api). +To localize UI labels, put this object to your i18n dictionary under the `tools` section: + +```json +"tools": { + "list": { + "Ordered": "ממוספר", + "Unordered": "לא ממוספר" + } +} +``` + +See more instructions about Editor.js internationalization here: [https://editorjs.io/internationalization](https://editorjs.io/internationalization)