Skip to content

feat: enable russian docs translations - #2623

Open
Ibochkarev wants to merge 1 commit into
nuxt:mainfrom
Ibochkarev:feat/russian
Open

Ibochkarev wants to merge 1 commit into
nuxt:mainfrom
Ibochkarev:feat/russian

Conversation

@Ibochkarev

Copy link
Copy Markdown
Contributor

🔗 Linked issue
pairs with nuxt/translations#11

📚 Description
this adds Russian as a second docs locale, served from nuxt/translations alongside German. it depends on ru being added there, and until then it just renders every segment in English.

@Ibochkarev
Ibochkarev requested a review from atinux as a code owner November 8, 2026 13:01
@vercel

vercel Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

@Ibochkarev is attempting to deploy a commit to the Nuxt Team on Vercel.

A member of the Team first needs to authorize it.

@Ibochkarev Ibochkarev changed the title Feat/russian feat: enable russian docs translations 🇩🇪 Nov 8, 2026
@Ibochkarev Ibochkarev changed the title feat: enable russian docs translations 🇩🇪 feat: enable russian docs translations Nov 8, 2026
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cee78b05-99a5-4441-a452-a6b726de6fb2
Commits

Reviewing files that changed from the base of the PR and between 4bc81f2 and bc2cdd8.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The change adds Russian locale entries and translations, including Russian plural selection for editor messages. It adds a Russian translator-role configuration and updates tests for locale rebuilding, routing, links, middleware, and page metadata.

Estimated code review effort: 2 (Simple) | ~12 minutes

Merge Risk: Minimal · previous review 4bc81

The Russian locale changes are mergeable after normal checks. Russian documentation segments will remain in English until the linked translations change is available.

Pre-merge checks: Passed 5

Check name Status Explanation
Description check Passed The description states that the change adds Russian as a second docs locale, served from nuxt/translations alongside German. It also notes the dependency on the linked nuxt/translations pull request t…
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title "feat: enable russian docs translations" matches the main change. The PR adds Russian (ru) as a second documentation locale served from nuxt/translations alongside German. The changeset cove…
Full details: Description check

Explanation

The description states that the change adds Russian as a second docs locale, served from nuxt/translations alongside German. It also notes the dependency on the linked nuxt/translations pull request that adds ru, and that segments render in English until then. This is directly related to the changeset.

Full details: Docstring Coverage

Explanation

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 6 files. (2 skipped: 2 unsupported.)

Full details: Title check

Explanation

The title "feat: enable russian docs translations" matches the main change. The PR adds Russian (ru) as a second documentation locale served from nuxt/translations alongside German. The changeset covers the locale config, the Russian editor strings and plural helper, and the tests. The title is specific and concise. It does not mention the dependency on nuxt/translations PR #11, but the title does not need to cover every detail.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a73414b1-9f8b-4d73-88dc-7234ed6989e7
Commits

Reviewing files that changed from the base of the PR and between aa857f3 and 4bc81f2.

Files selected for processing: 8

  • .env.example
  • README.md
  • nuxt.config.ts
  • shared/utils/l10n-editor.ts
  • shared/utils/l10n.ts
  • test/unit/l10n-bundle.spec.ts
  • test/unit/l10n-middleware.spec.ts
  • test/unit/l10n-paths.spec.ts

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

This branch has not been deployed

No deployments
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.

1 participant