Repository navigation
Closed
Labels
documentationImprovements or additions to documentationgood first issueGood for newcomersi18nInternationalization and localization
Description
Description
PR #716 added documentation for the new --max-tokens flag and max_tokens config setting but only updated the English versions. The Japanese, Russian, and Chinese translations need the same content added.
Changes that need syncing
cli-reference.md — one new table row after --max-tools:
| `--max-tokens <n>` | — | config or template default | Per-file prompt token ceiling. Overrides the saved `max_tokens` setting for this run. |configuration.md — a new "Per-file prompt limit" section (inserted after the timeout section, before "Verify connectivity"):
### Per-file prompt limit
OCR defaults to a 58,888-token prompt ceiling for each file review. Increase
it for a model with a larger context window by saving `max_tokens`:
\`\`\`bash
ocr config set max_tokens 200000
\`\`\`
The setting applies to both `ocr review` and `ocr scan`. Use `--max-tokens`
for a one-off override without changing the saved configuration:
\`\`\`bash
ocr review --max-tokens 200000
ocr scan --max-tokens 200000
\`\`\`
The per-run flag takes precedence over `max_tokens`; when neither is set, OCR
uses the embedded task-template default. This limit is per file and is
independent of both the model's output-token cap and `--max-tokens-budget`,
which caps total token use for a run. Restore the embedded default with
`ocr config unset max_tokens`.Scope
- Files:
pages/src/content/docs/ja/cli-reference.mdpages/src/content/docs/ja/configuration.mdpages/src/content/docs/ru/cli-reference.mdpages/src/content/docs/ru/configuration.mdpages/src/content/docs/zh/cli-reference.mdpages/src/content/docs/zh/configuration.md
- Area: documentation / i18n
Acceptance Criteria
- Each language's
cli-reference.mdhas the--max-tokensrow translated and inserted in the same position as the English version - Each language's
configuration.mdhas the "Per-file prompt limit" section translated and inserted in the same position as the English version - Code blocks (commands, flag names) remain unchanged — only prose is translated
-
make checkpasses
Context
Introduced via #716 (merged 2026-08-07). The PR only touched pages/src/content/docs/en/. Per project convention, docs changes must be synced to all localized versions.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationgood first issueGood for newcomersi18nInternationalization and localization
Activity
wu21-web commentedon Aug 7, 2026
@lizhengfeng101 Thanks. Do you require all markdowns to be humanly translated?
lizhengfeng101 commentedon Aug 7, 2026
@wu21-web Unnecessary