From a77471a7b15019058df853322fb259e3290c3290 Mon Sep 17 00:00:00 2001 From: chenjintao Date: Tue, 29 Sep 2026 16:38:09 +0800 Subject: [PATCH] chore(agents): allow language in Chinese --- AGENTS.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 41797a5..6ef0e76 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -154,13 +154,15 @@ Additional enforcement rules: ## Language Policy -All developer-facing artifacts must be written in **English**. This includes: +Developer-facing artifacts may be written in **Chinese or English**. This includes: - Source code: identifiers, comments, log tags, and string literals used for diagnostics. - Version control: branch names, commit messages, PR titles and descriptions, and code-review comments. - Documentation: READMEs, architecture docs, inline API docs, and this file (`AGENTS.md`). -**Exception — user-facing content:** UI strings, end-user help text, localization resource files, and any material rendered directly to end users may use the target locale language. +When modifying existing artifacts, prefer the language already used in the surrounding content unless the task explicitly requires another language. Keep identifiers consistent with the existing codebase and use clear, unambiguous terminology. + +**User-facing content:** UI strings, end-user help text, localization resource files, and any material rendered directly to end users may use the target locale language. ## Testing Guidelines