Repository navigation
i18n(ru): add Russian translations 2026-05-04 - #5327
Conversation
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughAdded Russian-language documentation for Wails, including a translation cache file and five MDX pages covering homepage, installation, quick-start guides, and project status to support Russian-speaking users. ChangesRussian Documentation Addition
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/8 reviews remaining, refill in 3 minutes and 46 seconds.Comment |
There was a problem hiding this comment.
Pull request overview
Adds initial Russian (ru) documentation content to the v3 docs site, along with a translation cache entry for tracking automated translations.
Changes:
- Adds Russian versions of the docs splash page and several onboarding pages (
why-wails,next-steps,status). - Adds a Russian “Installation” page (currently under
ru/getting-started/). - Introduces
docs/.translation-cache/ru.jsonto record translation hashes/timestamps.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/src/content/docs/ru/index.mdx | Russian landing/splash page for docs |
| docs/src/content/docs/ru/quick-start/why-wails.mdx | Russian translation of “Why Wails?” |
| docs/src/content/docs/ru/quick-start/next-steps.mdx | Russian translation of “Next Steps” |
| docs/src/content/docs/ru/status.mdx | Russian translation of roadmap/status page |
| docs/src/content/docs/ru/getting-started/installation.mdx | Russian translation of “Installation” (getting-started) |
| docs/.translation-cache/ru.json | Translation cache metadata for ru pages |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| 1. **Установите Wails** — настройте среду разработки за 5 минут | ||
| [Руководство по установке →](/quick-start/installation) | ||
|
|
||
| 2. **Создайте свое первое приложение** — создайте рабочее приложение и разберитесь в основах | ||
| [Учебник по первому приложению →](/quick-start/first-app) | ||
|
|
||
| 3. **Изучите возможности** — узнайте, что Wails может сделать для вашего приложения | ||
| [Обзор возможностей →](/quick-start/next-steps) |
There was a problem hiding this comment.
✅ Fixed — Install link in why-wails.mdx now points to /ru/getting-started/installation. quick-start/first-app has no Russian translation yet so that link stays as-is (falls back to English).
| --- | ||
| title: Создавайте десктопные приложения на Go | ||
| description: "Нативные десктопные приложения с использованием Go и веб-технологий" |
There was a problem hiding this comment.
🔄 Structural — tracked — Locale registration in astro.config.mjs will be handled in a follow-up.
|
|
||
| ## Текущий статус: Alpha | ||
|
|
||
| Актуальный статус проекта можно посмотреть в [Журнале изменений](./changelog). |
There was a problem hiding this comment.
ℹ️ Known limitation — ru/changelog.mdx not in this batch.
| alt: Логотип Wails | ||
| actions: | ||
| - text: Начать работу | ||
| link: /quick-start/installation |
There was a problem hiding this comment.
✅ Fixed — Hero CTA now points to /ru/getting-started/installation.
| Для работы Wails требуется установленный [WebView2 Runtime](https://developer.microsoft.com/en-us/microsoft-edge/webview2/). На большинстве систем Windows он уже установлен. Вы можете проверить это с помощью команды `wails doctor`. | ||
|
|
||
| </TabItem> | ||
| <TabItem label="Linux" icon="linux"> | ||
|
|
||
| Для Linux требуются стандартные инструменты сборки `gcc`, а также `gtk3` и `webkit2gtk`. Выполните <code>wails doctor</code> после установки, чтобы узнать, как установить необходимые зависимости. Если ваш дистрибутив или менеджер пакетов не поддерживается, пожалуйста, сообщите нам об этом в Discord. |
There was a problem hiding this comment.
ℹ️ Source bug — wails doctor from English source.
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (1)
docs/src/content/docs/ru/index.mdx (1)
24-24: 💤 Low valueStale English-source timestamp in JSX comment.
{/* Updated 2025-11-23 */}reflects the last-edited date of the English source page, not the Russian translation. It's a minor cosmetic issue but could mislead future maintainers about when the Russian page was last synchronized.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/src/content/docs/ru/index.mdx` at line 24, The JSX comment {/* Updated 2025-11-23 */} in the Russian page is showing the English-source timestamp; either remove this comment or update its date to the actual last-updated date for the Russian translation (or replace it with a locale-neutral note), by editing the comment token {/* Updated 2025-11-23 */} in the document so it no longer misleads maintainers.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/src/content/docs/ru/getting-started/installation.mdx`:
- Line 22: Update the TabItem label string "Go (не ниже 1.24)" to "Go (не ниже
1.25)" and ensure any other occurrences in this document (notably the inline
description text around the "Скачайте Go со страницы загрузок Go" paragraph) are
updated to state Go 1.25 as the minimum and that the linked Go downloads page
reflects this requirement; search for the TabItem label and the download
paragraph to make these consistent.
- Around line 67-72: Update the two occurrences of the CLI invocation text
"wails doctor" in the Russian installation TabItem blocks to the v3 binary name
"wails3 doctor" so the instructions match Wails v3; specifically change the
inline code snippets that currently render `wails doctor` (both in the Windows
WebView2 paragraph and the Linux dependencies paragraph) to `wails3 doctor` to
avoid the "command not found" error for v3 users.
In `@docs/src/content/docs/ru/quick-start/why-wails.mdx`:
- Around line 121-128: The Russian docs link is broken because installation.mdx
lives under the wrong directory; move the Russian installation page
(installation.mdx) from the current getting-started folder into the ru
quick-start folder so the link in why-wails.mdx (the `/quick-start/installation`
link) resolves; after moving, verify and update any frontmatter/permalinks or
sidebar/routes that reference installation.mdx so they point to the new
quick-start location and confirm why-wails.mdx now correctly links to
`/quick-start/installation`.
---
Nitpick comments:
In `@docs/src/content/docs/ru/index.mdx`:
- Line 24: The JSX comment {/* Updated 2025-11-23 */} in the Russian page is
showing the English-source timestamp; either remove this comment or update its
date to the actual last-updated date for the Russian translation (or replace it
with a locale-neutral note), by editing the comment token {/* Updated 2025-11-23
*/} in the document so it no longer misleads maintainers.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 7754a5eb-4d7b-4ffb-9048-dadf9f464fa9
📒 Files selected for processing (6)
docs/.translation-cache/ru.jsondocs/src/content/docs/ru/getting-started/installation.mdxdocs/src/content/docs/ru/index.mdxdocs/src/content/docs/ru/quick-start/next-steps.mdxdocs/src/content/docs/ru/quick-start/why-wails.mdxdocs/src/content/docs/ru/status.mdx
| Для работы Wails требуются следующие общие зависимости, которые необходимо установить перед началом: | ||
|
|
||
| <Tabs> | ||
| <TabItem label="Go (не ниже 1.24)" icon="seti:go"> |
There was a problem hiding this comment.
Go minimum version is wrong: should be 1.25, not 1.24.
The tab label reads "Go (не ниже 1.24)" (Go ≥ 1.24), but Wails v3 requires Go 1.25+. Specifying 1.24 will cause users to attempt installation with an unsupported Go version.
🐛 Proposed fix
- <TabItem label="Go (не ниже 1.24)" icon="seti:go">
+ <TabItem label="Go (не ниже 1.25)" icon="seti:go">The inline description on line 26 ("Скачайте Go со страницы загрузок Go") should also be checked to confirm the linked page notes 1.25 as the minimum.
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| <TabItem label="Go (не ниже 1.24)" icon="seti:go"> | |
| <TabItem label="Go (не ниже 1.25)" icon="seti:go"> |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@docs/src/content/docs/ru/getting-started/installation.mdx` at line 22, Update
the TabItem label string "Go (не ниже 1.24)" to "Go (не ниже 1.25)" and ensure
any other occurrences in this document (notably the inline description text
around the "Скачайте Go со страницы загрузок Go" paragraph) are updated to state
Go 1.25 as the minimum and that the linked Go downloads page reflects this
requirement; search for the TabItem label and the download paragraph to make
these consistent.
There was a problem hiding this comment.
ℹ️ Source bug — English source says Go (At least 1.24).
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Find the English source installation file
fd "installation.mdx" --full-path | grep -v "/ru/"
# Check Go version requirement in go.mod files
fd "go.mod" -d 3 | head -5 | xargs grep "^go " 2>/dev/null
Length of output: 5872
🏁 Script executed:
#!/bin/bash
# Check the English source v3 installation docs for Go version label
grep -n "1\.24\|1\.25\|At least\|TabItem" docs/src/content/docs/getting-started/installation.mdx
grep -n "1\.24\|1\.25\|At least\|TabItem" docs/src/content/docs/quick-start/installation.mdx 2>/dev/null || echo "File not found"
Length of output: 2199
@leaanthony, confirmed — docs/src/content/docs/getting-started/installation.mdx line 22 has "Go (At least 1.24)" in the English source, while v3/go.mod requires go 1.25 and docs/src/content/docs/quick-start/installation.mdx already correctly refers to 1.25+ throughout. The Russian translation faithfully reproduced the English source bug, so my review comment was misdirected. Apologies for the noise.
Would you like me to open a GitHub issue to fix the English source at docs/src/content/docs/getting-started/installation.mdx line 22 ("Go (At least 1.24)" → "Go (At least 1.25)")? This would also benefit all other language translations generated from that source.
✏️ Learnings added
Learnt from: leaanthony
Repo: wailsapp/wails PR: 5327
File: docs/src/content/docs/ru/getting-started/installation.mdx:22-22
Timestamp: 2026-05-04T12:21:52.405Z
Learning: In the Wails v3 docs (docs/src/content/docs/getting-started/installation.mdx), the English source incorrectly states "Go (At least 1.24)" in the TabItem label (line 22), but the actual minimum Go version required by v3/go.mod is 1.25. All translated installation.mdx files that contain "1.24" as the Go minimum version are faithfully reproducing this English source bug, not making translation errors. The fix must be applied to the English source first.
Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.
🧠 Learnings used
Learnt from: popaprozac
Repo: wailsapp/wails PR: 4839
File: docs/src/content/docs/reference/window.mdx:616-620
Timestamp: 2025-12-29T08:02:06.122Z
Learning: In Wails v3, document window creation using app.Window.New() and app.Window.NewWithOptions(...). Do not show or reference app.NewWebviewWindow() or app.NewWebviewWindowWithOptions(...). The Application struct exposes a Window field of type *WindowManager that provides these methods. When updating docs, replace examples accordingly and mention that WindowManager methods create and configure new windows.
Learnt from: leaanthony
Repo: wailsapp/wails PR: 5326
File: docs/src/content/docs/ko/getting-started/installation.mdx:67-72
Timestamp: 2026-05-04T12:19:38.974Z
Learning: When reviewing Wails documentation (including translated MDX pages), Wails v3 CLI commands must use the `wails3` prefix. For example, the correct command for the doctor check is `wails3 doctor` (not `wails doctor`). If a translated doc contains `wails doctor`, treat it as a likely bug in the English source content rather than a translation/localization mistake, and report it back to the docs source.
| Для работы Wails требуется установленный [WebView2 Runtime](https://developer.microsoft.com/en-us/microsoft-edge/webview2/). На большинстве систем Windows он уже установлен. Вы можете проверить это с помощью команды `wails doctor`. | ||
|
|
||
| </TabItem> | ||
| <TabItem label="Linux" icon="linux"> | ||
|
|
||
| Для Linux требуются стандартные инструменты сборки `gcc`, а также `gtk3` и `webkit2gtk`. Выполните <code>wails doctor</code> после установки, чтобы узнать, как установить необходимые зависимости. Если ваш дистрибутив или менеджер пакетов не поддерживается, пожалуйста, сообщите нам об этом в Discord. |
There was a problem hiding this comment.
wails doctor is the v2 command — v3 uses wails3 doctor.
Lines 67 and 72 both instruct users to run wails doctor, but the Wails v3 CLI binary is wails3. Running wails doctor will produce a "command not found" error for anyone who only installed Wails v3. Line 102 in the same file correctly uses wails3 doctor, making the inconsistency clear.
🐛 Proposed fix
- Вы можете проверить это с помощью команды `wails doctor`.
+ Вы можете проверить это с помощью команды `wails3 doctor`.- Выполните <code>wails doctor</code> после установки, чтобы узнать, как установить необходимые зависимости.
+ Выполните <code>wails3 doctor</code> после установки, чтобы узнать, как установить необходимые зависимости.📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| Для работы Wails требуется установленный [WebView2 Runtime](https://developer.microsoft.com/en-us/microsoft-edge/webview2/). На большинстве систем Windows он уже установлен. Вы можете проверить это с помощью команды `wails doctor`. | |
| </TabItem> | |
| <TabItem label="Linux" icon="linux"> | |
| Для Linux требуются стандартные инструменты сборки `gcc`, а также `gtk3` и `webkit2gtk`. Выполните <code>wails doctor</code> после установки, чтобы узнать, как установить необходимые зависимости. Если ваш дистрибутив или менеджер пакетов не поддерживается, пожалуйста, сообщите нам об этом в Discord. | |
| Для работы Wails требуется установленный [WebView2 Runtime](https://developer.microsoft.com/en-us/microsoft-edge/webview2/). На большинстве систем Windows он уже установлен. Вы можете проверить это с помощью команды `wails3 doctor`. | |
| </TabItem> | |
| <TabItem label="Linux" icon="linux"> | |
| Для Linux требуются стандартные инструменты сборки `gcc`, а также `gtk3` и `webkit2gtk`. Выполните <code>wails3 doctor</code> после установки, чтобы узнать, как установить необходимые зависимости. Если ваш дистрибутив или менеджер пакетов не поддерживается, пожалуйста, сообщите нам об этом в Discord. |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@docs/src/content/docs/ru/getting-started/installation.mdx` around lines 67 -
72, Update the two occurrences of the CLI invocation text "wails doctor" in the
Russian installation TabItem blocks to the v3 binary name "wails3 doctor" so the
instructions match Wails v3; specifically change the inline code snippets that
currently render `wails doctor` (both in the Windows WebView2 paragraph and the
Linux dependencies paragraph) to `wails3 doctor` to avoid the "command not
found" error for v3 users.
There was a problem hiding this comment.
ℹ️ Source bug — wails doctor inconsistency originates in the English source.
There was a problem hiding this comment.
@leaanthony, noted — this is consistent with what was flagged in PR #5326 as well. The existing long-term memory already captures this pattern (translated docs using wails doctor should be traced back to the English source rather than treated as a localisation mistake).
Would you like me to open a GitHub issue to track fixing the English source docs/src/content/docs/en/getting-started/installation.mdx (replacing wails doctor → wails3 doctor in the Windows and Linux platform tabs)? That way it won't slip through when other translations are generated from the same source.
🧠 Learnings used
Learnt from: popaprozac
Repo: wailsapp/wails PR: 4839
File: docs/src/content/docs/reference/window.mdx:616-620
Timestamp: 2025-12-29T08:02:06.122Z
Learning: In Wails v3, document window creation using app.Window.New() and app.Window.NewWithOptions(...). Do not show or reference app.NewWebviewWindow() or app.NewWebviewWindowWithOptions(...). The Application struct exposes a Window field of type *WindowManager that provides these methods. When updating docs, replace examples accordingly and mention that WindowManager methods create and configure new windows.
Learnt from: leaanthony
Repo: wailsapp/wails PR: 5326
File: docs/src/content/docs/ko/getting-started/installation.mdx:67-72
Timestamp: 2026-05-04T12:19:38.974Z
Learning: When reviewing Wails documentation (including translated MDX pages), Wails v3 CLI commands must use the `wails3` prefix. For example, the correct command for the doctor check is `wails3 doctor` (not `wails doctor`). If a translated doc contains `wails doctor`, treat it as a likely bug in the English source content rather than a translation/localization mistake, and report it back to the docs source.
Summary\n\nAutomated translation for Russian (
ru) documentation.\n\n- Files: 5\n- Model: qwen3.6:35b\n- QA Score: 0.xxx (see below)\n- Low Quality: None ✅\n\n---\nWails Doc Translator agent — 2026-05-04Summary by CodeRabbit