Skip to content

Add CodeRabbit review guidelines for Hindi, Bengali, and Brazilian Portuguese documentation - #4806

Open
fellyph wants to merge 2 commits into
trunkfrom
codex/coderabbit-hi-bn-pilot
Open

fellyph wants to merge 2 commits into
trunkfrom
codex/coderabbit-hi-bn-pilot

Conversation

@fellyph

@fellyph fellyph commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add path-specific CodeRabbit review instructions for Hindi, Bengali, and Brazilian Portuguese documentation. Each rule points to the corresponding WordPress glossary and asks reviewers to cite the relevant entry when suggesting a terminology correction. Hindi glossary · Bengali glossary · Brazilian Portuguese glossary

The rules ask CodeRabbit to compare translations with the English source, check placeholders and technical identifiers, and skip stylistic rewrites. For suspected errors in Blueprints or executable snippets, reviews should identify the offending token, explain the likely failure, and suggest a correction. Automated Blueprint schema validation and snippet execution are follow-up work.

Local validation

  • Parsed the YAML and validated it against the published CodeRabbit v2 schema.
  • Checked all three globs against the tracked files on trunk at f652844bbd. All 57 Hindi files, 77 Bengali files, and 98 Brazilian Portuguese files matched exactly one rule with the correct glossary. No other files matched.
  • Prettier and git diff --cached --check passed. Prettier ran directly because the commit hook could not find Nx in the isolated worktree.

Live pilot checks

  • Confirm CodeRabbit loads the repository configuration during a hosted review.
  • Test Brazilian Portuguese. CodeRabbit selected all three pt-BR guide files and posted four actionable comments, one for each seeded error. It left the valid wording change alone. Hosted review on #4807
  • Test a Hindi translation PR against the Hindi glossary.
  • Test a Bengali translation PR against the Bengali glossary.
  • Evaluate false positives across ordinary translation PRs before considering additional locales.
pt-BR test case Feedback
WordPress media terminology Recommended the plural “anexos” for “attachments” and cited the glossary entry for “anexo”. Comment
Blueprint step Identified the invalid step and cited the schema for the correct spelling, installPlugin. Comment
Client API method Cited the English guide and restored client.isReady(). Comment
PHP placeholder Explained why %d renders the sample product names as 0 and suggested %s. A local PHP check confirmed this behavior. Comment

Summary by CodeRabbit

  • Documentation
    • Added language-specific review guidance for Hindi, Bengali, and Brazilian Portuguese documentation, including checks for translation accuracy, glossary consistency, placeholders, and literal identifiers.
    • Added checks for Blueprint examples and executable snippets, including schema and runtime validation.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The CodeRabbit configuration adds review instructions for Hindi, Bengali, and Brazilian Portuguese documentation. The instructions cover English-source comparison, glossary use, preservation of placeholders and identifiers, and checks for Blueprint examples and executable snippets.

Changes: Translation review rules

Layer / File(s) Summary
Language-specific review rules
.coderabbit.yaml
Added review instructions for Hindi, Bengali, and Brazilian Portuguese documentation paths. The instructions cover translation meaning, glossary usage, placeholders, identifiers, Blueprint examples, and executable snippets.

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

Change: Other

Possibly related issues

Suggested reviewers: ekamran, akirk, mayankmajeji

Merge Risk: Minimal · up to 3f2a5

This change adds review guidance for localized documentation and does not affect product behavior. No concrete merge-blocking risk was found. The pilot reviews are still to be run after merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: adding CodeRabbit review guidelines in a .coderabbit.yaml file for Hindi, Bengali, and Brazilian Portuguese documentation. The raw summary confirms the file adds path-…
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.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the main change: adding CodeRabbit review guidelines in a .coderabbit.yaml file for Hindi, Bengali, and Brazilian Portuguese documentation. The raw summary confirms the file adds path-specific review instructions for these three locales. The objectives describe the change as covering Hindi and Bengali. They do not mention the Brazilian Portuguese scope, but the summary and the commit message both include it, so the title stays related to the changeset. The title is long (91 characters), but it is specific and accurate.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • 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

Commits

Reviewing files that changed from the base of the PR and between d20d389 and 3f2a55b.

Files selected for processing: 1

  • .coderabbit.yaml

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

@fellyph fellyph changed the title Add CodeRabbit review guidelines for Hindi and Bengali documentation Add CodeRabbit review guidelines for Hindi, Bengali, and Brazilian Portuguese documentation Nov 30, 2026

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