You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add CodeRabbit review guidelines for Hindi, Bengali, and Brazilian Portuguese documentation - #4806
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.
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.
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.
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: 4
Check name
Status
Explanation
Title check
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description Check
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.
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
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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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.git diff --cached --checkpassed. Prettier ran directly because the commit hook could not find Nx in the isolated worktree.Live pilot checks
installPlugin. Commentclient.isReady(). Comment%drenders the sample product names as0and suggested%s. A local PHP check confirmed this behavior. CommentSummary by CodeRabbit