← 返回
内容创作 Key 中文

Excel Translator

Translates Excel files (.xlsx) from English to Chinese while preserving all formatting, images, and charts. Use for any task where a user provides an Excel f...
将 Excel 文件(.xlsx)从英文翻译成中文,同时保留所有格式、图片和图表。适用于用户提供的 Excel 文件的任何翻译任务。
ilove323
内容创作 clawhub v1.0.0 1 版本 99781.8 Key: 需要
★ 0
Stars
📥 1,372
下载
💾 439
安装
1
版本
#latest

概述

Excel Translator Skill

Overview

This skill translates the text content of an Excel file (.xlsx) from English to Chinese using openpyxl. The Chinese translation is placed directly below the original English text in the same cell, separated by a newline — no new rows or columns are inserted. Original formatting (merged cells, fonts, colors, images) is preserved.

Workflow

  1. Identify the input .xlsx file path from the user.
  2. Run scripts/translate.py from the shell.
  3. Deliver the output file to the user as an attachment.

Running the Script

python3.11 /home/ubuntu/skills/excel-translator/scripts/translate.py "/path/to/input.xlsx"

The output file is saved automatically with a _translated suffix in the same directory.

Custom output path:

python3.11 /home/ubuntu/skills/excel-translator/scripts/translate.py "/path/to/input.xlsx" -o "/path/to/output.xlsx"

Environment Variables

The script reads API credentials from environment variables. These are pre-configured in the Manus sandbox:

  • OPENAI_API_KEY — API key for the translation model.
  • OPENAI_BASE_URL — Base URL for the API endpoint (defaults to https://api.openai.com/v1).

Bundled Resources

  • scripts/translate.py — Core translation script. Scans all sheets, translates English text cells concurrently via OpenAI API, writes "English\nChinese" back into the same cell with wrap_text=True, and saves the result.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 22:04 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

productivity

Outlook Calendar

ilove323
读取企业 Microsoft 365 Outlook 日历。当用户问任何涉及日程、会议、安排、工作、任务、事情的问题时触发,例如:今天有什么安排、这周有什么会、本月会议多少小时、明天要做什么、下周有啥工作、这周有什么事、有啥任务等。
★ 0 📥 1,778
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,168
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,611