docs(hi): translate the Features pages
What and why
-
Hindi translations of the 6 Features pages, the next group after the minimum set in #1890:
cache,explore,visual-testing,authentication,bug-bash, andagents. -
12 new rows in the
docs/hi/README.mdglossary for terms these pages introduce: cache miss, stale, recording and cache entry (one row), test id, finding, exploration, defect, secret fill, redaction, value, character, and checkout.- "Stale" is पुरानी पड़ चुकी, not पुरानी, which means only "older".
cache.mdxuses both meanings.
- "Stale" is पुरानी पड़ चुकी, not पुरानी, which means only "older".
-
The Security card at the end of
visual-testing.mdxtranslates the reworded English card from #1988, not the card onmain. Themaincard promises that secrets stay out of screenshots, but screenshots mask only secure fields. -
cache.mdxlinks Next.js the way the English page has since #1952, which landed after this branch was cut. I mergedmaininto the branch for it.
Merge order
Merge #1988 first. Until #1988 lands, the Hindi Security card says what the English card will say, not what it says on main.
Issue
Part of #1890.
Verified
Ran it locally: yes
pnpm docs:checkon the head, merged withmain: 202 of 206 translated pages match their English outline and code, 290 pages compile, and 4194 anchor links resolve. The 12 warnings are on pages this PR does not touch (web.mdxandnavigation.jsonin hi, cs, es, and pt) and come from #1952 onmain.pnpm --filter e2e exec vitest run tests/unit/skill.test.ts: 9 of 9 pass.- A second model (GPT-6.2 Sol) translated each Hindi page back to English without seeing the English page, then compared the two. I applied 46 of its 52 findings. I left out the other 6:
- 1 was already handled:
agents.mdx:181already names models. - 1 would have changed the meaning: the Hindi on
cache.mdx:189already says what the English says aboutapp.identity. - 3 only marked plurals that Hindi leaves implicit, and made the sentences heavier.
- 1 replaced अक्षर (character) with कैरेक्टर on one page only. The native-speaker review below chose कैरेक्टर for every page.
- 1 was already handled:
- samanyudas, the
hiassignee and a native speaker, reviewed 7 word choices. Changed after that review: रेडैक्शन for the noun "redaction", कैरेक्टर for "character", and दोष for "defect". Kept: पुरानी पड़ चुकी for "stale" and फ़ाइंडिंग for "finding". A later review chose चेकआउट for a git checkout, the wordexplore.mdxand the mergedci.mdxalready use, socache.mdxand the mergedweb.mdx:77move from वर्किंग कॉपी to चेकआउट here. The 4 uses of मान for "value" on the mergedwebandcipages move to वैल्यू in a separate PR. - I checked the security statements on
authentication.mdxandcache.mdxagainst the English sentence by sentence. Examples: redaction starts at the first fill, plain inputs are not masked, and entries never hold secret values. - The rendered pages are not checked: the site is private, so a maintainer needs to preview them.
For maintainers
-
pnpm docs:checkmisses several kinds of mistakes in a translation. All of these pass it:- a snippet import at the wrong depth (
./snippets/video.jsx) - a changed inline code span or number
- a deleted negation
- an em dash
- a link changed to another anchor that exists
I checked these pages for each of them by hand and with scripts.
- a snippet import at the wrong depth (
-
docs/explore.mdx:137-138in English breaks the inline code spanExplore what this change affects and find bugs in itacross two lines. The Hindi page keeps it on one line.
🤖 Generated with Claude Code