Skip to content

Add locales for de, ru, zh, ko#37

Open
serhiipylypchuk1991 wants to merge 5 commits into
nextfrom
sp-next-translate
Open

Add locales for de, ru, zh, ko#37
serhiipylypchuk1991 wants to merge 5 commits into
nextfrom
sp-next-translate

Conversation

@serhiipylypchuk1991

Copy link
Copy Markdown
Contributor
  • enable i18n in docusaurus.config with locales en, de, ru, zh, ko
  • add localeDropdown to navbar
  • generate code.json, navbar.json, footer.json, current.json scaffolds
  • translate theme strings (including AskAI search modal), sidebar category labels and footer links per locale

- enable i18n in docusaurus.config with locales en, de, ru, zh, ko
- add localeDropdown to navbar
- generate code.json, navbar.json, footer.json, current.json scaffolds
- translate theme strings (including AskAI search modal), sidebar category labels and footer links per locale
@serhiipylypchuk1991 serhiipylypchuk1991 self-assigned this May 18, 2026
@serhiipylypchuk1991 serhiipylypchuk1991 changed the title [add] i18n scaffolding for de, ru, zh, ko Add locales for de, ru, zh, ko May 18, 2026
serhiipylypchuk1991 and others added 4 commits May 18, 2026 20:20
- translate 71 .md articles from docs/ into i18n/de/
- copy assets (assets/richtext/*.png, assets/trial_richtext.png) for image references in translated content
- write .sync marker with source commit hash a3660cb
- translate 71 .md articles from docs/ into i18n/ru/
- copy assets (assets/richtext/*.png, assets/trial_richtext.png) for image references in translated content
- write .sync marker with source commit hash 4937a88
- translate 71 .md articles from docs/ into i18n/zh/
- copy assets (assets/richtext/*.png, assets/trial_richtext.png) for image references in translated content
- write .sync marker with source commit hash 778dce4
- translate 71 .md articles from docs/ into i18n/ko/
- copy assets (assets/richtext/*.png, assets/trial_richtext.png) for image references in translated content
- write .sync marker with source commit hash 0f37662

# locale

### Description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


@short: Optional. Gibt die URL an, die für den Bild-Upload verwendet wird

### Usage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

imageUploadUrl?: string;
~~~

### Example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

});
~~~

**Change log:** The property was added in v2.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


**Change log:** The property was added in v2.0

**Related articles:** [Configuration](guides/configuration.md)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


**Related articles:** [Configuration](guides/configuration.md)

**Related sample:** [RichText. Initialization](https://snippet.dhtmlx.com/t55alxiy?tag=richtext)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


# imageUploadUrl

### Description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


@short: Optional. Legt den Layout-Modus für den Haupteditorbereich fest

### Usage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


Der Modus `"classic"` füllt den gesamten Bearbeitungsbereich aus. Der Modus `"document"` zeigt den Bearbeitungsbereich als Dokumentseite an.

### Default config

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

layoutMode: "classic";
~~~

### Example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

});
~~~

**Change log:** Die Eigenschaft wurde in v2.0 anstelle der entfernten `mode`-Eigenschaft hinzugefügt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


**Change log:** Die Eigenschaft wurde in v2.0 anstelle der entfernten `mode`-Eigenschaft hinzugefügt

**Related articles:** [Configuration](guides/configuration.md)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


**Related articles:** [Configuration](guides/configuration.md)

**Related sample:** [RichText. Initialization](https://snippet.dhtmlx.com/t55alxiy?tag=richtext)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


# layoutMode

### Description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

Das **locale**-Objekt muss alle Beschriftungen von RichText mit den entsprechenden Übersetzungen enthalten.
:::

### Usage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

locale?: object;
~~~

### Default config

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

Um das aktuelle Gebietsschema dynamisch zu ändern, können Sie die Methode [**setLocale()**](api/methods/set-locale.md) von RichText verwenden.
:::

### Example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

});
~~~

**Change log:** The property was added in v2.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


**Change log:** The property was added in v2.0

**Related articles:** [Localization](guides/localization.md)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


**Related articles:** [Localization](guides/localization.md)

**Related sample:** [RichText. Localization](https://snippet.dhtmlx.com/zxjrin3i?tag=richtext)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


@short: Optional. Aktiviert die obere Menüleiste von RichText

### Usage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

menubar?: boolean;
~~~

### Example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

});
~~~

**Change log:** Die Eigenschaft wurde in v2.0 hinzugefügt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


@short: Wird ausgelöst, wenn eine Schriftfamilie festgelegt wird

### Usage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

"set-font-family": ({ fontFamily: string }) => boolean | void;
~~~

### Parameters

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

Zum Verarbeiten interner Events können Sie [**Event Bus-Methoden**](api/overview/event_bus_methods_overview.md) verwenden
:::

### Example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

});
~~~

**Change log:** The event was added in v2.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


# set-font-family

### Description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


@short: Wird ausgelöst, wenn eine Schriftgröße gesetzt wird

### Usage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

"set-font-size": ({ fontSize: string }) => boolean | void;
~~~

### Parameters

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

Zur Verarbeitung interner Events können Sie die [**Event Bus-Methoden**](api/overview/event_bus_methods_overview.md) verwenden
:::

### Example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

});
~~~

**Change log:** Das Event wurde in v2.0 hinzugefügt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


# set-font-size

### Description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


@short: Wird ausgelöst, wenn ein Popup angezeigt oder ausgeblendet wird

### Usage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

}
~~~

### Parameters

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

Zur Verarbeitung interner Events können Sie die [**Event Bus-Methoden**](api/overview/event_bus_methods_overview.md) verwenden
:::

### Example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

});
~~~

**Change log:** Das Event wurde in v2.0 hinzugefügt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


# show-popup

### Description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


@short: Wird ausgelöst, wenn die Schaltfläche „Subscript" in der Menüleiste/Toolbar gedrückt oder über Event-Bus-Methoden aufgerufen wird

### Usage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

Zur Verarbeitung interner Events können Sie [**Event-Bus-Methoden**](api/overview/event_bus_methods_overview.md) verwenden
:::

### Example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

editor.api.exec("subscript", {});
~~~

**Change log:** Das Event wurde in v2.0 hinzugefügt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


# subscript

### Description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


@short: Wird ausgelöst, wenn die Schaltfläche "Superscript" in der Menüleiste/Toolbar gedrückt oder über Event-Bus-Methoden aufgerufen wird

### Usage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

Zur Verarbeitung interner Events können Sie [**Event-Bus-Methoden**](api/overview/event_bus_methods_overview.md) verwenden
:::

### Example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

editor.api.exec("superscript", {});
~~~

**Change log:** Das Event wurde in v2.0 hinzugefügt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


# superscript

### Description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


### Description

@short: Fires when toggling the full screen mode

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


@short: Fires when toggling the full screen mode

### Usage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

"toggle-fullscreen-mode": ({ mode?: boolean }) => boolean | void;
~~~

### Parameters

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

Zur Verarbeitung der internen Events können Sie die [**Event Bus methods**](api/overview/event_bus_methods_overview.md) verwenden
:::

### Example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

editor.api.exec("toggle-fullscreen-mode", { mode: true });
~~~

**Change log:** The event was added in v2.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


# toggle-fullscreen-mode

### Description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED


### Description

@short: Fires when toggling the layout mode

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT TRANSLATED

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants