epub-translator

Translate English EPUB documents into Simplified Chinese EPUBs without an API key.

16|Updated May 9, 2026
One-click install
npx skills add https://github.com/hugohe3/hugo-skills --skill epub-translator-hugohe3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epub-translator
Source: https://github.com/hugohe3/hugo-skills/tree/main/skills/epub-translator
Command: npx skills add https://github.com/hugohe3/hugo-skills --skill epub-translator-hugohe3

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of translating English EPUB books into Simplified Chinese EPUBs, maintaining the original structure and metadata.

Core Features & Use Cases

  • EPUB Translation: Accurately translate the content of English EPUB books to Simplified Chinese while preserving original formatting, images, and metadata.
  • Preservation of Structure: Retain the original directory structure, images, CSS, metadata, links, and reading order of the EPUB book.
  • Use Case: Use this skill when a user requires a Chinese translation of an English EPUB book for better accessibility or reading convenience.

Quick Start

Run the following commands to translate an EPUB file:

python3 scripts/translate_epub.py prepare book.epub -w work/book-zh
python3 scripts/translate_epub.py build -w work/book-zh -o book.zh-Hans.epub

Frequently Asked Questions about epub-translator

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

FAQPage Schema
How do I translate an English EPUB to Simplified Chinese while preserving the original formatting?

To translate an English EPUB to Simplified Chinese while preserving formatting, use a script that extracts the document structure and rebuilds the translated EPUB. This process retains the original directory structure, images, CSS, and metadata intact.

Can I translate an EPUB book without using a model API key?

Yes, you can translate an EPUB book without using a model API key. This specific translation process is designed to function model-agnostic, allowing you to generate Simplified Chinese EPUBs without requiring external API authentication.

Does translating an EPUB keep the original images and reading order?

Translating an EPUB with this method keeps the original images and reading order. The workflow is specifically designed to preserve the document's metadata, links, and structural integrity throughout the English to Simplified Chinese translation.

What is the best way to convert an English ebook to a Simplified Chinese EPUB?

The best way to convert an English ebook to a Simplified Chinese EPUB is using a dedicated translation script. It accurately processes the text and outputs a high-quality translated EPUB file while keeping the original format intact.

How to run a script to prepare and build a translated Simplified Chinese EPUB?

To run a script to prepare and build a translated Simplified Chinese EPUB, first unpack the source book using the prepare command, then execute the build command to compile the translated content into a new EPUB file.

Are there limitations when translating EPUB documents to Simplified Chinese?

Limitations when translating EPUB documents to Simplified Chinese depend on the model used, as the process is model-agnostic. The script focuses on structural preservation, meaning translation quality relies entirely on the underlying model's capabilities.

Related Skills