Skip to content

docs: add Simplified Chinese translation (README.zh.md) - #262

Open
YE (JasonYeYuhe) wants to merge 1 commit into
microsoft:mainfrom
JasonYeYuhe:docs/add-simplified-chinese-readme
Open

YE (JasonYeYuhe) wants to merge 1 commit into
microsoft:mainfrom
JasonYeYuhe:docs/add-simplified-chinese-readme

Conversation

@JasonYeYuhe

Copy link
Copy Markdown

What does this PR do?

This PR adds a complete 1:1 Simplified Chinese translation (README.zh.md) of the main documentation and a PyPI-safe language switcher at the top of README.md to improve accessibility for Chinese-speaking LLM researchers and developers.

Changes

  • Added README.zh.md: Complete, natural Simplified Chinese translation of README.md covering:
    • News and overview of LLMLingua, LongLLMLingua, LLMLingua-2, and SecurityLingua (plus MInference, RetrievalAttention, and SCBench links)
    • Quick start installation and Python API usage for PromptCompressor across LLMLingua, LongLLMLingua, LLMLingua-2, and SecurityLingua
    • Structured prompt compression with <llmlingua> tags, custom data collection/training links, FAQ, contributing guidelines, and BibTeX citations
  • Updated README.md: Added a centered language navigation link (English · 简体中文) using a PyPI-safe absolute GitHub URL (https://github.com/microsoft/LLMLingua/blob/main/README.zh.md) so links work both on GitHub and on the PyPI llmlingua package page.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Was this discussed/approved via a Github issue? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed.

Signed-off-by: YE <yyyyy.yeyuhe@gmail.com>
Copilot AI balanced review requested due to automatic review settings October 17, 2026 06:27

Copilot AI left a comment

Copy link
Copy Markdown

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.

This branch has not been deployed

No deployments
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.

2 participants