docs(hi): sync the Reference pages with English

Merged
SA
2d ago
+1393-213

What

The Hindi Reference pages (docs/hi/reference/*.mdx) now match the English pages as of c289aff59. They cover:

  • defineConfig, fullyParallel, and --fully-parallel
  • services (services in the config, the services fixture, INVALID_SERVICE_VALUE, SERVICE_START_FAILED, SERVICE_STOP_FAILED) and an app.command.env function
  • test.step, test.todo, describe.configure, describe.only, the parallel option, and the "Engine fixtures across targets" section
  • browser.clock, browser.name and browser.version, waitForRequest, the waitForResponse predicate, browser.setNetwork, and browser.cookies(urls)
  • device.lock(), device.unlock(), device.pressButton, getAttribute on a device node, and app.permissions: 'all'
  • e2e merge-reports and merged shard reports, toBeOK, range widgets in toHaveValue, and pressing a character that is not on the US keyboard
  • smaller changes to agent, app, core, engine, engine-protocol, errors, mcp, request, runner, screen, and security

Why

#2232 translated the Reference pages from English at 57115739f.
Since then, 36 English commits changed 19 of those pages (git log 57115739f..c289aff59 -- docs/reference).
The site still served the Hindi pages, but without these changes.
On c289aff59, check-docs-translations.ts reports 17 places behind English in docs/hi/reference/.

How it works

  1. Each English hunk from git diff 57115739f c289aff59 -- docs/reference is translated in the same place on the Hindi page.
    The translation follows docs/hi/README.md: spoken Hindi, the glossary, and । at sentence ends.
    Table cells keep the English table's punctuation, so an errors row ends without । as the English row ends without a period.
  2. Fenced code blocks are copied from the English page byte for byte, including the new TestAPI, FixtureDefinitions, EngineHandle, Browser, Service, and BrowserClock declarations.
  3. New headings sit at the same level and position as in English, so their ids (#defineconfig, #services, #test-step, #clock, #waitforrequest, #pressbutton, #lock, #merged-shard-reports, and the others) resolve on the Hindi pages too.
  4. agent.mdx and environment.mdx are unchanged: their English hunks only reword ("else" to "or", "one time" to "once"), and the Hindi already says the same thing.

The sync stops at c289aff59.
Seven English commits that landed after it (#2255, #2323, #1948, #2335, #2330, #2350, #2360) are left for a follow-up, along with the other Hindi pages that lag English (index, web, mobile, mcp-server, ci, coding-agents, core-concepts, subscriptions, integrations/revyl).

Issue

Part of #1890.

Verified

Ran it locally: yes

  • pnpm check exits 0.
  • pnpm docs:check: 412 pages compile as standard MDX, and 6480 anchor links across 412 pages resolve.
  • node scripts/check-docs-translations.ts reports 0 warnings for docs/hi/reference/*, against 17 on c289aff59.
  • No rendered screenshots: the docs site is not in this repository. MDX compilation and anchor resolution are the checks available locally.

Checklist

  • Changeset added (pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only.
  • Breaking change: title carries !, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md).
  • Docs updated in the same PR: the docs/**/*.mdx page for the behavior, and skills/e2e/ if the skill describes it.
  • Contract change: emitted .d.ts reviewed, tests/types/sdk-types.ts updated; wire change edits the schema and both fixtures.
  • Engine contract change (e2e/engine): changesets for e2e, @e2e-dev/web, and @e2e-dev/mobile.

Reviewed with sol-loop: 4 rounds with gpt-6.2-sol. Sol verdict: approved, except one point kept as is: errors table rows end without ।, matching the English table.

🤖 Generated with Claude Code