T

translate-pdf

by @wshuyiv
4.2(33)

PDFドキュメントを任意の言語に翻訳し、元の構造、レイアウト、スタイルを保持します。AIエージェントスキル、作業効率と自動化能力を向上させます。

pdf-processingdocument-translationocrnatural-language-processing-(nlp)file-conversionGitHub
インストール方法
npx skills add wshuyi/translate-pdf-skill --skill translate-pdf
compare_arrows

Before / After 効果比較

1
使用前

PDFドキュメントを翻訳する際、手動でのコピー&ペーストは非常に時間がかかり、元のレイアウトやスタイルを損ないやすいです。翻訳後には大量のDTP作業が必要となります。

使用後

PDFドキュメントを指定された言語に自動翻訳し、同時に元の構造とスタイルを完全に保持します。ドキュメント翻訳の効率と品質を大幅に向上させます。

SKILL.md

PDF Translation

Translate PDF text while preserving structure, colors, and background styling.

Workflow

Step 1: Extract texts

python {skill_path}/scripts/extract_texts.py <input.pdf>

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:

{
  "Original Text 1": "Translated 1",
  "Original Text 2": "Translated 2"
}

Save as translations.json next to input PDF.

Step 3: Apply translations

python {skill_path}/scripts/translate_pdf.py <input.pdf> translations.json <output.pdf> --font <fontname>

Font options:

FontLanguage
helvLatin (English, Spanish, Portuguese, French, German, etc.)
china-ssSimplified Chinese
china-tsTraditional Chinese
japanJapanese
koreaKorean

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

ユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数708
評価4.2 / 5.0
バージョン
更新日2026年5月23日
比較事例1 件

ユーザー評価

4.2(33)
5
18%
4
52%
3
27%
2
3%
1
0%

この Skill を評価

0.0

対応プラットフォーム

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

タイムライン

作成2026年3月16日
最終更新2026年5月23日