translate-pdf
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: "
By wshuyi · 1,132 installs
npx skills add wshuyi/translate-pdf-skill --skill translate-pdf
Source repository · Upstream listing
PDF Translation
Translate PDF text while preserving structure, colors, and background styling.
Workflow
Step 1: Extract texts
Review output to see all unique text strings in the PDF.
Step 2: Create translation mapping
Translate each text to target language. Create JSON file:
Save as translations.json next to input PDF.
Step 3: Apply translations
Font options:
Font Language
helv 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