mt2zh

Translate PDF documents to Chinese using OpenAI's API.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/puhuaqiang/my-skills --skill mt2zh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mt2zh
Source: https://github.com/puhuaqiang/my-skills/tree/main/mt2zh
Command: npx skills add https://github.com/puhuaqiang/my-skills --skill mt2zh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdf2zh, python-openai, and includes scripts (resource) components.

What problem does it solve?

mt2zh automates the translation of PDF documents into Chinese, saving time on manual translation tasks.

Core Features & Use Cases

  • Batch PDF Translation: Translate multiple PDF documents in a directory at once.
  • Single File Translation: Translate individual PDF documents.
  • Bilingual or Mono Output: Output translated documents in bilingual (original and translated) or mono (translated only) format.
  • Language Customization: Specify source and target languages for translation.
  • Thread Control: Optimize translation performance by controlling the number of threads used.

Quick Start

Use the mt2zh skill to translate a PDF document 'example.pdf' into Chinese using the default language pair.

Frequently Asked Questions about mt2zh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PDF translation to Chinese using OpenAI?

You can automate PDF translation to Chinese by using OpenAI's API to process single or multiple files. Configure your API key and model, then execute batch translation to generate output documents automatically.

Can I translate multiple PDF documents in a directory at once?

Yes, batch PDF translation supports processing an entire directory of documents simultaneously. You can also control the number of threads used to optimize translation performance for your workload.

Does the PDF translation output support keeping the original text alongside the translated version?

Yes, the PDF translation output supports bilingual format to display original and translated text together. You can alternatively select mono output mode to generate documents containing the translated text only.

Do I need an OpenAI API key to translate PDF documents into Chinese?

Yes, an OpenAI API key is required to perform PDF translation into Chinese. You must also select a specific OpenAI model during setup to process your source documents and execute the translation.

Can I specify source and target languages for PDF translation beyond just Chinese?

Yes, language customization allows you to specify both source and target languages for PDF translation. While optimized for Chinese translation, the OpenAI API integration supports modifying the language pair.