Skip to content

feat(mods): add zh-CN and es to the prompt-language catalog - #71

Merged
omartelo merged 1 commit into
mainfrom
prompt-language-zh-es
Oct 10, 2026
Merged

omartelo merged 1 commit into
mainfrom
prompt-language-zh-es

Conversation

@omartelo

Copy link
Copy Markdown
Collaborator

lich adds Simplified Chinese (zh-CN) and Spanish (es) as prompt languages (omartelo/lich#731 and the zh-CN PR). Both tags are the exact values lich exports in LICH_PROMPT_LANG. This PR adds both to hooks/prompt-text.js, translated from the English source.

  • Literal in every locale: [lich], tool and command names, <task-notification> tags, status enums, the subagent/ prefix, and {slot} placeholders.
  • Hooks still read LICH_PROMPT_LANG at their own call site.
  • Tests: node --test tests/*.test.mjs 415/415, with key, slot and literal parity and one render per hook for each new locale; no existing assertion changed. claude plugin test . 33/33.

@omartelo
omartelo merged commit 2c87d8f into main Oct 10, 2026
3 checks passed
@omartelo
omartelo deleted the prompt-language-zh-es branch October 10, 2026 03:18
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