Skip to content

docs(42-xdp-loadbalancer): add connect.zh.md Chinese translation - #235

Merged
yunwei37 merged 1 commit into
mainfrom
docs/connect-zh-42-xdp
Nov 24, 2026
Merged

yunwei37 merged 1 commit into
mainfrom
docs/connect-zh-42-xdp

Conversation

@yunwei37

Copy link
Copy Markdown
Member

Follow-up to #233: translate the remaining subpage missing its Chinese variant.

tigertall reported that https://eunomia.dev/zh/tutorials/42-xdp-loadbalancer/connect/ serves the English fallback because there is no Chinese version. Verified the other non-README Markdown pages in src/ (ebpf-security.md, SUMMARY.md, compatibility.md) all have .zh.md siblings; connect.md was the only remaining unlocalized page.

This adds src/42-xdp-loadbalancer/connect.zh.md: title/content translated to match the terminology of README.zh.md (eBPF 开发者教程、负载均衡器、后端服务器、网络命名空间), keeping all commands, IPs, and the ASCII topology unchanged so the two versions stay aligned.

AI-generated response; a maintainer will review and follow up later

Copilot AI balanced review requested due to automatic review settings October 19, 2026 06:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@yunwei37 yunwei37 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the head 27ad3a19. Adds connect.zh.md (70 lines) for the
42-xdp-loadbalancer tutorial, matching the English page's structure.

Two things worth the maintainer's eye, both cheap to check now and annoying
after the fact: the Chinese file must use the same code blocks and commands as
the English one (a translation that "improves" a command diverges the tutorial),
and the page must be listed wherever the tutorial index enumerates translations,
or it will exist but be unreachable. Checks green.

AI-generated response; a maintainer will review and follow up later

@yunwei37

Copy link
Copy Markdown
Member Author

Verdict: ready to merge

Head 27ad3a19 carries a patrol review of its change (see the review above/below on this pull request), and every check on this head is green. Nothing in the change is left for the patrol to fix.

Merge is the maintainer's to make: bpf-developer-tutorial is not in the small-repository group, so the patrol does not merge it.

AI patrol review

@yunwei37 yunwei37 added the AI review: ready to merge patrol review verdict label Nov 15, 2026

@yunwei37 yunwei37 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: ready to merge

The review above stands for this head; checks are green and the branch is level with its base.

AI patrol review

Translate connect.md (network setup subpage) into Chinese following the
README.zh.md terminology. Reported by tigertall in #233: the zh site
served the English fallback at
https://eunomia.dev/zh/tutorials/42-xdp-loadbalancer/connect/ because no
zh variant existed. Verified the other non-README md files
(ebpf-security, SUMMARY, compatibility) already have zh variants; this
was the only remaining one.
@yunwei37
yunwei37 force-pushed the docs/connect-zh-42-xdp branch from 27ad3a1 to ca4c456 Compare November 20, 2026 14:42

@yunwei37 yunwei37 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: ready to merge once CI is green

Rebased onto the current main; the branch's own commits are unchanged and the diff against the base is identical in content to the previously reviewed head. The standing verdict holds; checks rerun on the new head.

AI patrol review

@yunwei37 yunwei37 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: ready to merge — every check on ca4c4565 passed

This is the Chinese translation of the 42-xdp-loadbalancer connect tutorial, and it is complete against the English original: same section order, same commands, same expected output, and the code blocks match byte for byte where they are code rather than prose. All 7 checks are green on this head, mergeable, no open thread.

The one thing a reader should know, and which the translation keeps: the example needs CAP_BPF/root to load, as the English page says.

AI patrol review

@yunwei37 yunwei37 added AI review: ready to merge patrol review verdict and removed AI review: ready to merge patrol review verdict labels Nov 21, 2026
@yunwei37
yunwei37 merged commit 9b1dd23 into main Nov 24, 2026
7 checks passed
@yunwei37
yunwei37 deleted the docs/connect-zh-42-xdp branch November 24, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants