porwshuyi·wshuyi· v1.0.0 · atualizado em 2026-04-10
80
Score
This skill translates PDF documents from one language to another. It leverages advanced machine translation techniques to provide accurate and contextually relevant translations, preserving the original formatting as much as possible.
Extract Texts: — Use the `extract_texts.py` script to extract all unique text strings from the input PDF.
2
Create Translation Mapping: — Translate each extracted text string into the target language and create a JSON file (`translations.json`) containing the original text and its translation.
3
Apply Translations: — Use the `translate_pdf.py` script to apply the translations to the PDF, specifying the input PDF, translation JSON, output PDF, and font.
4
Output Naming: — The translated PDF is saved with a language suffix (e.g., `filename_EN.pdf`).
translate a PDF documentconvert PDF to another languagelocalize a PDF filetranslate PDF preserving formattingtranslate PDF with original stylingtranslate PDF to Spanishtranslate PDF to Chinesetranslate PDF to Japanese