Skip to content

Commit d981e56

Browse files
Merge pull request #54 from DHTMLX/sp-next-normalizing-translations
[add] i18n glossary and normalize translations
2 parents acbb41f + 42e9236 commit d981e56

240 files changed

Lines changed: 509 additions & 403 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

i18n/GLOSSARY.md

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# Translation Glossary — All documentation template phrases
2+
3+
Purpose: a single reference for translations of recurring template phrases in the documentation
4+
([../docs/](../docs/)). Consult it when translating new articles and when reviewing localizations —
5+
the wording and markdown markup (`**...**`, `### ...`, full-width `` for zh/ko) must match verbatim.
6+
7+
The **canonical** (most frequent) variant is given.
8+
9+
---
10+
11+
## 1. Section labels (bold lead before a list)
12+
13+
| EN | ru | de | ko | zh |
14+
|---|---|---|---|---|
15+
| `**Related articles:**` | `**Полезные статьи:**` | `**Verwandte Artikel:**` | `**관련 문서:**` | `**相关文章:**` |
16+
| `**Related article:**` | `**Полезная статья:**` | `**Verwandter Artikel:**` | `**관련 문서:**` | `**相关文章:**` |
17+
| `**Related sample:**` | `**Связанный пример:**` | `**Verwandtes Beispiel:**` | `**관련 샘플:**` | `**相关示例:**` |
18+
| `**Related samples:**` | `**Связанные примеры:**` | `**Verwandte Beispiele:**` | `**관련 예제:**` | `**相关示例:**` |
19+
| `**Related API:**` | `**Похожее API:**` | `**Verwandte API:**` | `**관련 API:**` | `**相关 API:**` |
20+
| `**Change log:**` | `**Журнал изменений:**` | `**Changelog:**` | `**변경 로그:**` | `**更新日志:**` |
21+
| `**Example:**` | `**Пример:**` | `**Beispiel:**` | `**예제:**` | `**示例:**` |
22+
| `**Example on GitHub**` | `**Пример на GitHub**` | `**Beispiel auf GitHub**` | `**GitHub 예제**` | `**GitHub 示例**` |
23+
24+
## 2. Section headings (API-page template)
25+
26+
| EN | ru | de | ko | zh |
27+
|---|---|---|---|---|
28+
| `### Description` | `### Описание` | `### Beschreibung` | `### 설명` | `### 描述` |
29+
| `### Usage` | `### Использование` | `### Verwendung` | `### 사용법` | `### 用法` |
30+
| `### Example` | `### Пример` | `### Beispiel` | `### 예제` | `### 示例` |
31+
| `### Parameters` | `### Параметры` | `### Parameter` | `### 매개변수` | `### 参数` |
32+
| `### Returns` | `### Возвращаемое значение` | `### Rückgabewert` | `### 반환값` | `### 返回值` |
33+
| `### Fixes` | `### Исправления` | `### Fehlerbehebungen` | `### 수정 사항` | `### 修复` |
34+
| `### New functionality` | `### Новый функционал` | `### Neue Funktionalität` | `### 새로운 기능` | `### 新功能` |
35+
| `### Updates` | `### Обновления` | `### Aktualisierungen` | `### 업데이트` | `### 更新` |
36+
| `### Default config` | `### Конфигурация по умолчанию` | `### Standardkonfiguration` | `### 기본 설정` | `### 默认配置` |
37+
| `### Breaking changes` | `### Критические изменения` | `### Breaking Changes` | `### 주요 변경 사항` | `### 重大变更` |
38+
| `## Related API and guides` | `## Связанные API и гайды` | `## Verwandte API und Anleitungen` | `## 관련 API 및 가이드` | `## 相关 API 和指南` |
39+
| `## What's next` | `## Что дальше` | `## Wie geht es weiter` | `## 다음 단계` | `## 下一步` |
40+
| `## API reference` | `## Справочник API` | `## API-Referenz` | `## API 참조` | `## API 参考` |
41+
42+
## 3. Version notes (inside `**Change log:**`)
43+
44+
Format `<Action> in vX.X` — the "action" word is translated, the version number stays as is.
45+
46+
The forms below are verified against actual occurrences in the locales (e.g. `Добавлено в v5.2`,
47+
`v5.2에서 추가`, `v5.2 中新增`). The version number is not translated.
48+
49+
| EN | ru | de | ko | zh |
50+
|---|---|---|---|---|
51+
| `Added in vX.X` | `Добавлено в vX.X` | `Hinzugefügt in vX.X` | `vX.X에서 추가` | `vX.X 中新增` |
52+
| `Updated in vX.X` | `Обновлено в vX.X` | `Aktualisiert in vX.X` | `vX.X에서 업데이트` | `vX.X 中更新` |
53+
| `Deprecated in vX.X` | `Устарело в vX.X` | `Veraltet in vX.X` | `vX.X에서 지원 중단` | `vX.X 中弃用` |
54+
| `Removed in vX.X` | `Удалено в vX.X` | `Entfernt in vX.X` | `vX.X에서 제거` | `vX.X 中移除` |
55+
| `Starting from vX.X, …` | `Начиная с vX.X, …` | `Ab vX.X …` | `vX.X부터 …` | `从 vX.X 起,…` |
56+
57+
## 4. Admonition block titles (`:::note`, `:::tip` …)
58+
59+
The titles of these blocks come **not from markdown**, but from the `theme.admonition.*` keys in
60+
`i18n/<locale>/code.json` (in EN — Docusaurus built-in defaults). In `.md` the block type (`:::note`,
61+
`:::tip`, …) is not translated — only the `message` in `code.json` changes.
62+
63+
The Docusaurus theme renders the title with `text-transform: uppercase`, so for ru/de the visible
64+
title is always UPPERCASE, while ko/zh have no letter case. Canon: **capitalized first letter**, with
65+
words distinct between types (no `caution`/`warning` duplicates).
66+
67+
| Type | ru | de | ko | zh |
68+
|---|---|---|---|---|
69+
| `:::note` | `Примечание` | `Hinweis` | `노트` | `备注` |
70+
| `:::tip` | `Подсказка` | `Tipp` | `` | `提示` |
71+
| `:::info` | `К сведению` | `Info` | `정보` | `信息` |
72+
| `:::warning` | `Предупреждение` | `Warnung` | `경고` | `警告` |
73+
| `:::caution` | `Осторожно` | `Vorsicht` | `주의` | `注意` |
74+
| `:::danger` | `Опасно` | `Gefahr` | `위험` | `危险` |
75+
76+
## 5. Do not translate
77+
78+
Keep these terms in English across all locales (verified: identical counts in ru/de/ko/zh).
79+
80+
**Product & modules:**
81+
82+
- `DHTMLX`, `dhx` (the `dhx.*` code namespace)
83+
- `Sheet Manager`, `Event Bus`
84+
85+
**Frameworks & libraries:**
86+
- `React`, `Vue`, `Svelte`, `Angular`
87+
- `Node.js`, `Vite`
88+
- `Redux`, `Redux Toolkit`
89+
90+
**Languages & tooling:**
91+
- `JavaScript`, `TypeScript`
92+
- `npm`, `yarn`, `CLI`
93+
94+
**Data formats:**
95+
- `Excel`, `XLSX`, `CSV`, `JSON`
96+
97+
**Services:**
98+
- `GitHub`, `CDN`
99+
100+
**Other:**
101+
- `API`
102+
- Code identifiers (method / config / event names, `dhx.*`) inside backticks are never translated.
103+
104+
> Not in this list — these UI concepts **are** localized (keep English only for a literal UI label):
105+
> `Toolbar` (→ ru "панель инструментов"), `Menu` (→ "меню"), `Fill Handle` (→ "маркер заполнения"),
106+
> `context menu`.

i18n/de/code.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,23 +139,23 @@
139139
"description": "The label alongside a tag list"
140140
},
141141
"theme.admonition.caution": {
142-
"message": "vorsicht",
142+
"message": "Vorsicht",
143143
"description": "The default label used for the Caution admonition (:::caution)"
144144
},
145145
"theme.admonition.danger": {
146-
"message": "gefahr",
146+
"message": "Gefahr",
147147
"description": "The default label used for the Danger admonition (:::danger)"
148148
},
149149
"theme.admonition.info": {
150150
"message": "Info",
151151
"description": "The default label used for the Info admonition (:::info)"
152152
},
153153
"theme.admonition.note": {
154-
"message": "hinweis",
154+
"message": "Hinweis",
155155
"description": "The default label used for the Note admonition (:::note)"
156156
},
157157
"theme.admonition.tip": {
158-
"message": "tipp",
158+
"message": "Tipp",
159159
"description": "The default label used for the Tip admonition (:::tip)"
160160
},
161161
"theme.admonition.warning": {

i18n/de/docusaurus-plugin-content-docs/current/api/config/default-styles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ new richtext.Richtext("#root", {
137137
});
138138
~~~
139139

140-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 aktualisiert
140+
**Changelog:** Die Eigenschaft wurde in v2.0 aktualisiert
141141

142142
**Verwandte Artikel:** [Konfiguration](guides/configuration.md)
143143

i18n/de/docusaurus-plugin-content-docs/current/api/config/fullscreen-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ new richtext.Richtext("#root", {
3232
});
3333
~~~
3434

35-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 hinzugefügt
35+
**Changelog:** Die Eigenschaft wurde in v2.0 hinzugefügt
3636

3737
**Verwandte Artikel:** [Konfiguration](guides/configuration.md)
3838

i18n/de/docusaurus-plugin-content-docs/current/api/config/image-upload-url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ new richtext.Richtext("#root", {
4949
});
5050
~~~
5151

52-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 hinzugefügt. Ab v2.1 ist die Eigenschaft optional: Wenn sie weggelassen wird, werden Bilder inline als Base64-Daten-URLs eingefügt.
52+
**Changelog:** Die Eigenschaft wurde in v2.0 hinzugefügt. Ab v2.1 ist die Eigenschaft optional: Wenn sie weggelassen wird, werden Bilder inline als Base64-Daten-URLs eingefügt.
5353

5454
**Verwandte Artikel:** [Konfiguration](guides/configuration.md), [Arbeiten mit dem Server](guides/working_with_server.md)
5555

i18n/de/docusaurus-plugin-content-docs/current/api/config/layout-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ new richtext.Richtext("#root", {
3434
});
3535
~~~
3636

37-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 anstelle der entfernten Eigenschaft `mode` hinzugefügt
37+
**Changelog:** Die Eigenschaft wurde in v2.0 anstelle der entfernten Eigenschaft `mode` hinzugefügt
3838

3939
**Verwandte Artikel:** [Konfiguration](guides/configuration.md)
4040

i18n/de/docusaurus-plugin-content-docs/current/api/config/locale.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const editor = new richtext.RichText("#root", {
4040
});
4141
~~~
4242

43-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 hinzugefügt
43+
**Changelog:** Die Eigenschaft wurde in v2.0 hinzugefügt
4444

4545
**Verwandte Artikel:** [Lokalisierung](guides/localization.md)
4646

i18n/de/docusaurus-plugin-content-docs/current/api/config/menubar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ new richtext.Richtext("#root", {
2626
});
2727
~~~
2828

29-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 hinzugefügt
29+
**Changelog:** Die Eigenschaft wurde in v2.0 hinzugefügt
3030

3131
**Verwandte Artikel:** [Konfiguration](guides/configuration.md)
3232

i18n/de/docusaurus-plugin-content-docs/current/api/config/toolbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ new richtext.Richtext("#root", {
212212
});
213213
~~~
214214

215-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 hinzugefügt
215+
**Changelog:** Die Eigenschaft wurde in v2.0 hinzugefügt
216216

217217
**Verwandte Artikel:** [Konfiguration](guides/configuration.md)
218218

i18n/de/docusaurus-plugin-content-docs/current/api/config/trigger-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ new Richtext("#root", {
6363
});
6464
~~~
6565

66-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.1 hinzugefügt
66+
**Changelog:** Die Eigenschaft wurde in v2.1 hinzugefügt
6767

6868
**Verwandte Beispiele:**
6969

0 commit comments

Comments
 (0)