Skip to content

[i18n] Add Bengali translation for developers/07-xdebug/01-introduction.md - #4578

Merged
fellyph merged 2 commits into
WordPress:trunkfrom
dhrupo:fix/bn-xdebug-introduction
Nov 9, 2026
Merged

fellyph merged 2 commits into
WordPress:trunkfrom
dhrupo:fix/bn-xdebug-introduction

Conversation

@dhrupo

@dhrupo dhrupo commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Title: [i18n] Add Bengali translation for developers/07-xdebug/01-introduction.md

Motivation for the change, related issues

The WordPress Playground documentation has ongoing translation efforts for Bengali (bn), tracked in #3186. The Xdebug introduction page (developers/07-xdebug/01-introduction.md) was not yet available in Bengali. This PR provides the Bengali translation so Bengali-speaking developers can learn how to debug PHP running in WebAssembly with Xdebug, Chrome DevTools, and IDE integration.

Implementation details

  • Added packages/docs/site/i18n/bn/docusaurus-plugin-content-docs/current/developers/07-xdebug/01-introduction.md.
  • Follows the existing bn translation convention in this repo: original English text is preserved in HTML comments directly above each translated section.
  • Frontmatter metadata (title, slug, description), headings, lists, and links mirror the English source at packages/docs/site/docs/developers/07-xdebug/01-introduction.md. Inline code and URLs are unchanged.
  • Formatted with Prettier to match project standards.

Testing Instructions (or ideally a Blueprint)

  1. Verify the newly created file at packages/docs/site/i18n/bn/docusaurus-plugin-content-docs/current/developers/07-xdebug/01-introduction.md.
  2. Confirm the frontmatter slug (/developers/xdebug/introduction) and the links to /developers/xdebug/xdebug-getting-started match the English source.

AI assistance: Yes. Tool: Claude Code. Used for: drafting the translation; I reviewed every string myself.

Summary by CodeRabbit

  • Documentation
    • Added a Bengali introduction to debugging PHP in WordPress Playground. The page explains Xdebug support, outlines setup prerequisites, and describes debugging with Chrome DevTools or an IDE. Bengali headings, explanatory text, and link labels make the guidance available to Bengali readers, with a link to the getting-started guide.

@github-actions github-actions Bot added the [Type] Documentation Improvements or additions to documentation label Nov 7, 2026
@coderabbitai

coderabbitai Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request adds a Bengali Xdebug introduction page. It describes Xdebug in WordPress Playground, debugging approaches, prerequisites, and links to the getting-started guide. English source text is retained in HTML comments.

Changes: Xdebug documentation

Layer / File(s) Summary
Translate the Xdebug introduction
packages/docs/site/i18n/bn/docusaurus-plugin-content-docs/current/developers/07-xdebug/01-introduction.md
Adds Bengali page metadata and translated explanations of Xdebug, debugging approaches, prerequisites, and links. English source text is included in HTML comments.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: fellyph

Merge Risk: Minimal · up to d97f9

This change adds a Bengali translation of the Xdebug introduction page. It is documentation-only and carries no identified merge risk.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the Bengali translation of the Xdebug introduction page.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. 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.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. 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 0 functions across 0 files. (1 skipped: 1 unsupported.)

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: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 82a391c7-3972-4612-a8ae-00d54583060e
Commits

Reviewing files that changed from the base of the PR and between 1d26069 and d97f922.

Files selected for processing: 1

  • packages/docs/site/i18n/bn/docusaurus-plugin-content-docs/current/developers/07-xdebug/01-introduction.md
Files skipped from review as they are similar to previous changes: 1

  • packages/docs/site/i18n/bn/docusaurus-plugin-content-docs/current/developers/07-xdebug/01-introduction.md

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

@fellyph fellyph left a comment

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.

thanks @dhrupo !

@fellyph
fellyph merged commit 5258c6e into WordPress:trunk Nov 9, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants