Skip to content

Docsup 135847 multilingual projects - #332

Merged
nataliaboldyreva merged 8 commits into
diplodoc-platform:masterfrom
nataliaboldyreva:DOCSUP-135847-multilingual-projects
Aug 25, 2026
Merged

Docsup 135847 multilingual projects#332
nataliaboldyreva merged 8 commits into
diplodoc-platform:masterfrom
nataliaboldyreva:DOCSUP-135847-multilingual-projects

Conversation

@nataliaboldyreva

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

✅ Documentation build

Revision built successfully
Revision preview link

Build logs

Warnings (9)

⚠️ Variable context not found in en/tools/docs/translate-ai.md

⚠️ Variable fragments not found in en/tools/docs/translate-ai.md

⚠️ Variable glossary not found in en/tools/docs/translate-ai.md

⚠️ Variable separator not found in en/tools/docs/translate-ai.md

⚠️ Variable source not found in en/tools/docs/translate-ai.md

⚠️ Variable target not found in en/tools/docs/translate-ai.md

⚠️ Variable text not found in en/tools/docs/translate-ai.md

⚠️ en/guides/openapi.md: 168: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 265] [Context: " — the specification is displayed directly on the page (default value). If the size of the specification's json schema exceeds the value of ##maxOpenapiIncludeSize## (100 KB by default), the mode automatically switches to "]

⚠️ en/tools/docs/build.md: 50: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 109] [Context: " — a snapshot of the dependency graph (pages, included files, assets, missing paths, edge count), as well as "]

@martyanovandrey
martyanovandrey removed their request for review August 20, 2026 14:37
Comment thread ru/guides/multilingual-projects.md Outdated
Comment thread ru/guides/multilingual-projects.md Outdated
Comment thread ru/guides/multilingual-projects.md Outdated
Comment thread ru/guides/multilingual-projects.md Outdated
Comment thread ru/guides/multilingual-projects.md Outdated
Comment thread ru/guides/multilingual-projects.md Outdated
Comment thread ru/guides/multilingual-projects.md Outdated
Comment thread ru/guides/multilingual-projects.md Outdated
Comment thread ru/guides/multilingual-projects.md Outdated
Comment thread ru/guides/multilingual-projects.md Outdated
@github-actions

Copy link
Copy Markdown

✅ Documentation build

Revision built successfully
Revision preview link

Build logs

Warnings (2)

⚠️ en/guides/openapi.md: 168: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 265] [Context: " — the specification is displayed directly on the page (default value). If the size of the specification's json schema exceeds the value of ##maxOpenapiIncludeSize## (100 KB by default), the mode automatically switches to "]

⚠️ en/tools/docs/build.md: 50: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 109] [Context: " — a snapshot of the dependency graph (pages, included files, assets, missing paths, edge count), as well as "]

@github-actions

Copy link
Copy Markdown

❌ Documentation build

Revision build failed

Build logs

Errors (1)

❌ Include skipped in (ru/settings.md:598). Include source for ru/_includes/supported-languages.md not found

Warnings (2)

⚠️ en/guides/openapi.md: 168: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 265] [Context: " — the specification is displayed directly on the page (default value). If the size of the specification's json schema exceeds the value of ##maxOpenapiIncludeSize## (100 KB by default), the mode automatically switches to "]

⚠️ en/tools/docs/build.md: 50: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 109] [Context: " — a snapshot of the dependency graph (pages, included files, assets, missing paths, edge count), as well as "]

@github-actions

Copy link
Copy Markdown

✅ Documentation build

Revision built successfully
Revision preview link

Build logs

Warnings (2)

⚠️ en/guides/openapi.md: 168: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 265] [Context: " — the specification is displayed directly on the page (default value). If the size of the specification's json schema exceeds the value of ##maxOpenapiIncludeSize## (100 KB by default), the mode automatically switches to "]

⚠️ en/tools/docs/build.md: 50: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 109] [Context: " — a snapshot of the dependency graph (pages, included files, assets, missing paths, edge count), as well as "]

@github-actions

Copy link
Copy Markdown

✅ Documentation build

Revision built successfully
Revision preview link

Build logs

Warnings (2)

⚠️ en/guides/openapi.md: 168: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 265] [Context: " — the specification is displayed directly on the page (default value). If the size of the specification's json schema exceeds the value of ##maxOpenapiIncludeSize## (100 KB by default), the mode automatically switches to "]

⚠️ en/tools/docs/build.md: 50: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 109] [Context: " — a snapshot of the dependency graph (pages, included files, assets, missing paths, edge count), as well as "]

Comment thread ru/guides/multilingual-projects.md Outdated

В корне проекта создайте папки для всех языков, на которые переведена документация. Для названий используйте их коды. Например: `ru`, `en`, `es`.

Чтобы автоматически создать папки, вы можете выполнить команду `yfm init` с параметром `--langs`. Читайте подробнее: [Создание проекта](../tools/docs/init.md).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

я бы предложил сделать так: в начале блока "Создание многоязычного проекта" разместить рекомендацию использовать yfm init с параметром --langs, а пошаговую инструкцию разместить далее как один из вариантов.

yfm init - рекомендуемый способ, а пошаговая инструкция скорее для случаев, когда дока уже есть и ее надо сделать мультиязычной.

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.

Выделила подразделами два способа создания проекта.

Comment thread ru/guides/multilingual-projects.md Outdated

Читайте подробнее: [Пресеты переменных](../project/presets.md).

## Профилирование {#profiling}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

этот блок требует пояснения: у нас статья всегда делается строго под конкретную локаль, потому формулировка "чтобы часть контента отображалась только для определённого языка" выглядит непонятно

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.

Скорректировала блок и пример, дала ссылки на статьи о Едином источнике и профилировании

Comment thread ru/guides/multilingual-projects.md Outdated
https://diplodoc.com/docs/en/
```

## Ссылки на другие языковые версии {#language-version-link}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

давай этот блок в самый конец статьи унесём

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.

Перенесла

@github-actions

Copy link
Copy Markdown

✅ Documentation build

Revision built successfully
Revision preview link

Build logs

Warnings (2)

⚠️ en/guides/openapi.md: 168: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 265] [Context: " — the specification is displayed directly on the page (default value). If the size of the specification's json schema exceeds the value of ##maxOpenapiIncludeSize## (100 KB by default), the mode automatically switches to "]

⚠️ en/tools/docs/build.md: 50: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 109] [Context: " — a snapshot of the dependency graph (pages, included files, assets, missing paths, edge count), as well as "]

@nataliaboldyreva
nataliaboldyreva merged commit 899bc9d into diplodoc-platform:master Aug 25, 2026
1 check passed
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.

2 participants