Repository navigation
docs: add Simplified Chinese README translation (README_zh.md) - #1757
Open
WanderLandWalker wants to merge 1 commit into
Open
WanderLandWalker wants to merge 1 commit into
WanderLandWalker wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Adds a Simplified Chinese translation of the README as
README_zh.mdto help Chinese-speaking developers discover and adoptlnav.<!-- This is a comment for testing purposes -->verbatim (in the translation it sits on line 3, just under the added banner; it is the source's own testing comment); the badge lines themselves byte-identical — the badge URL query parts (percent-encodedworkflow%3Aci-buildandAsk%20LNAV%20Guru-006BFF, plus plainbadge/?version=latest&style=plasticand?branch=masterappearing twice); the raw-HTML Discord link line<img src="https://assets-global.website-files.com/…" height="20" alt="Discord Logo"/>inside its[…](https://discord.gg/erBPnKwz7R)wrapper; the screenshot construct[](docs/assets/images/lnav-front-page.png)including theScreenshotalt and both relative targets; all 10 fenced code blocks byte-for-byte (the fourconsoleblocks —$ brew install lnav,$ pkg install lnav,$ lnav /path/to/file1 /path/to/dir ..., and the$ ./configure/$ make/$ sudo make installblock — plus the six unnamed ``` journalctl-pipe blocks with their flags and the long--output-fields=MESSAGE,PRIORITY,_PID,SYSLOG_IDENTIFIER,_SYSTEMD_UNITline); every inline-code identifier in prose (`e`/`E`, `/`, `:highlight`, `P`, `i`, `;`, `j`/`k`/`h`/`l`, `tail`/`grep`/`less`, the two ssh-command display spans`$ ssh playground@demo.lnav.org`/ `` `$ ssh tutorial1@demo.lnav.org` ``, `lnav`, `journalctl`, `systemd-journald`, `-a`, `-b`, `-n`, `--since=...`, `t`, `./autogen.sh`); the markdown-escaped `_SYSTEMD_UNIT` in prose (backslash kept); the `[^1]:` footnote marker with its 6-space-indented continuation line structure; all URL fragments inside absolute links (`#json-lines`, `#spatial-navigation` ×2, `#highlight-pattern`, `#regular-expression-match`, `#sqlite-expression`, `#pretty`, `#hist`, `releases/latest#release-artifacts`, `…/sqlext.html`); the `ssh://` and `mailto:` scheme URLs; the relative `ARCHITECTURE.md` target; the column padding of the prerequisites list (`gcc/clang - `, `libpcre2 - `, … — only the description after the dash was translated); version numbers (C++14, SQLite 3.9.0, libcurl 7.23.0, systemd v236); and proper nouns (LNAV/lnav, Discord, Homebrew/Brew, FreeBSD, MacOS, Unix, SQLite, PRQL, PCRE2, zlib/bz2/libarchive/libunistring, 'tshark'/pcap, syslog, Google Groups, SignPath.io/SignPath Foundation, Anthropic, Claude for Open Source Program, SumoLogic, Angle-grinder, GitHub Sponsors, Read the Docs, LOG/TEXT "Files" view names).](#…)anchor links (its TOC-style links are absolute URLs to docs.lnav.org, which is why fragments live inside full URLs), so nothing needed to be pinned.# LNAV —— 日志文件导航器), section headings, the prerequisites/feature bullets' descriptions, link display text (e.g.[美化打印 JSON-lines](…),[主站](…),[内部架构](…)— with[**文档**]keeping its inner bold), and the footnote definition sentence (its[^1]:marker and indentation kept).README.md.Note on AI assistance
This translation was produced with AI assistance and independently reviewed for accuracy, formatting, and compliance before submission. The project is BSD-2-Clause licensed.
Becoming a Contributor
I checked for contribution policy files:
CONTRIBUTING.md(repo root,.github/, anddocs/) and a PR template all return 404, the README's own "Contributing" section only links the GitHub Sponsors page, and there is no AI/LLM prohibition, DCO, or CLA anywhere in the repo's contributor-facing docs — so this purely additive translation follows the normal fork → pull-request flow. I would love to become a Contributor to this repository, and I'm happy to match any preferred convention and keep the translation in sync as the English README evolves.