TutorialMarch 30, 2026·1 min read

Polish Translation for React DOCX Editor — Edytor DOCX po polsku

How to use the Polish (pl) locale in docx-js-editor. Localize the toolbar, comments, and track changes UI to Polish. Edytor dokumentow DOCX z polskim interfejsem.

Live demo

Upload a .docx or edit the sample below — the UI is in Polish.

Setup

Import the Polish locale and pass it via the i18n prop:

import { DocxEditor } from "@eigenpal/docx-js-editor";
import pl from "@eigenpal/docx-js-editor/i18n/pl.json";
import "@eigenpal/docx-js-editor/styles.css";
 
function App() {
  return (
    <DocxEditor
      documentBuffer={buffer}
      i18n={pl}
      showToolbar
      showRuler
    />
  );
}

Tree-shaking ensures only the Polish JSON gets bundled.

Translation reference

Toolbar / Pasek narzędzi

EnglishPolish
BoldPogrubienie
ItalicKursywa
UnderlinePodkreślenie
StrikethroughPrzekreślenie
UndoCofnij
RedoPonów
FontCzcionka
SizeRozmiar
Text ColorKolor tekstu
HighlightPodświetlenie
Align LeftWyrównaj do lewej
CenterWyśrodkuj
Align RightWyrównaj do prawej
JustifyWyjustuj
Bullet ListLista punktowana
Numbered ListLista numerowana
Insert TableWstaw tabelę
Insert ImageWstaw obraz
SaveZapisz

Comments / Komentarze

EnglishPolish
Add CommentDodaj komentarz
ReplyOdpowiedz
ResolveRozwiąż
DeleteUsuń

Track changes / Śledzenie zmian

EnglishPolish
AcceptZaakceptuj
RejectOdrzuć
Accept AllZaakceptuj wszystkie
Reject AllOdrzuć wszystkie

Modes / Tryby

EnglishPolish
EditingEdycja
SuggestingSugerowanie
ViewingPodgląd
Read OnlyTylko do odczytu

Contribute

The locale uses null for untranslated keys — English is used as fallback. Community contributions are welcome. See the contribution guide to learn how to improve the Polish translation or add a new language.

Next steps