Editra documentation

Multilingual editing

Create Unicode-rich documents, switch document language, and handle left-to-right and right-to-left writing in the same secure editor.

enEnglish

Welcome to Editra

hiहिन्दी

एडिट्रा में स्वागत है

teతెలుగు

ఎడిట్రాకు స్వాగతం

urاردو

ایڈیٹرا میں خوش آمدید

arالعربية

مرحبًا بك في إديترا

esEspañol

Bienvenido a Editra

frFrançais

Bienvenue sur Editra

deDeutsch

Willkommen bei Editra

ptPortuguês

Bem-vindo ao Editra

zh中文

欢迎来到 Editra

ja日本語

Editraへようこそ

ko한국어

Editra에 오신 걸 환영해요

Initialize a document language

Load the languages plugin only when the integration needs language switching. The plugin updates the editor's lang and dir attributes and exposes the same behavior through the command API.

const editor = await Editra.init({
  selector: "#editor",
  theme: "Word",
  plugins: ["languages", "formatting"],
  toolbar: "setLanguage | bold italic | alignment",
  language: "ar",
  direction: "rtl"
});

await editor.executeCommand("setLanguage", "fr");

Mix scripts safely

Editra preserves Unicode content across Word and Classic themes and across both <div> and synchronized <textarea> hosts. Direction can be set for the document while individual HTML blocks retain their own dir="rtl" or dir="ltr" semantics.

Clear capability boundary: language and text-direction support do not imply automatic translation. Translation can be supplied separately through an approved application or community plugin.

Open multilingual demo