Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
translate-pdf - Skill - OpenSmartRoute
Skillv1.0.0
translate-pdf
Translate PDF documents to any language while preserving original structure, layout, and styling (colors, backgrounds, positions).
Imported from wshuyi/translate-pdf-skill (skills/translate-pdf/SKILL.md) via skills.sh. Install upstream with npx skills add wshuyi/translate-pdf-skill --skill translate-pdf. Copyright stays with the author.
PDF Translation
Translate PDF text while preserving structure, colors, and background styling.
Latin (English, Spanish, Portuguese, French, German, etc.)
china-ss
Simplified Chinese
china-ts
Traditional Chinese
japan
Japanese
korea
Korean
Output naming
Append language suffix: filename_EN.pdf, filename_ZH.pdf, filename_JA.pdf
Tips
Keep proper nouns, abbreviations, technical terms unchanged when appropriate
CJK fonts auto-scale to 90% for better fit
Use transparent fill to preserve original background colors
Installed into a catalogue, chosen by a router
Install translate-pdf and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
When a provider is down or over quota the request moves on; the trace says it did.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "wshuyi-translate-pdf-skill-translate-pdf",
"kind": "skill",
"name": "translate-pdf",
"description": "Translate PDF documents to any language while preserving original structure, layout, and styling (colors, backgrounds, positions). Use when user wants to: (1) translate a PDF to another language, (2) convert PDF from one language to another, (3) create translated version of PDF document. Triggers: \"translate PDF\", \"PDF翻译\", \"把PDF翻译成\", \"translate this PDF to Chinese/English/Japanese\", \"翻译成中文/英文\"",
"publisher": "wshuyi",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding",
"math"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Translate PDF documents to any language while preserving original structure, layout, and styling (colors, backgrounds, positions). Use when user wants to: (1) translate a PDF to another language, (2) convert PDF from one language to another, (3) create translated version of PDF document. Triggers: \"translate PDF\", \"PDF翻译\", \"把PDF翻译成\", \"translate this PDF to Chinese/English/Japanese\", \"翻译成中文/英文\""
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/wshuyi/translate-pdf-skill",
"path": "skills/translate-pdf/SKILL.md",
"ref": "HEAD",
"url": "https://www.skills.sh/wshuyi/translate-pdf-skill/translate-pdf",
"key": "wshuyi/translate-pdf-skill/skills/translate-pdf/SKILL.md"
}
},
"instructions": "# PDF Translation\n\nTranslate PDF text while preserving structure, colors, and background styling.\n\n## Workflow\n\n### Step 1: Extract texts\n\n```bash\npython {skill_path}/scripts/extract_texts.py <input.pdf>\n```\n\nReview output to see all unique text strings in the PDF.\n\n### Step 2: Create translation mapping\n\nTranslate each text to target language. Create JSON file:\n\n```json\n{\n \"Original Text 1\": \"Translated 1\",\n \"Original Text 2\": \"Translated 2\"\n}\n```\n\nSave as `translations.json` next to input PDF.\n\n### Step 3: Apply translations\n\n```bash\npython {skill_path}/scripts/translate_pdf.py <input.pdf> translations.json <output.pdf> --font <fontname>\n```\n\n**Font options:**\n| Font | Language |\n|------|----------|\n| `helv` | Latin (English, Spanish, Portuguese, French, German, etc.) |\n| `china-ss` | Simplified Chinese |\n| `china-ts` | Traditional Chinese |\n| `japan` | Japanese |\n| `korea` | Korean |\n\n## Output naming\n\nAppend language suffix: `filename_EN.pdf`, `filename_ZH.pdf`, `filename_JA.pdf`\n\n## Tips\n\n- Keep proper nouns, abbreviations, technical terms unchanged when appropriate\n- CJK fonts auto-scale to 90% for better fit\n- Use transparent fill to preserve original background colors",
"cost": {
"context_tokens": 299
}
}
Fetch it by URL: GET /api/v1/registry/wshuyi-translate-pdf-skill-translate-pdf/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.