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 file and requests English-to-Chinese translation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ilove323/excel-translatorExcel 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
- Identify the input
.xlsxfile path from the user. - Run
scripts/translate.pyfrom the shell. - 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 tohttps://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 withwrap_text=True, and saves the result.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ilove323-excel-translator": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
outlook-calendar
读取企业 Microsoft 365 Outlook 日历。当用户问任何涉及日程、会议、安排、工作、任务、事情的问题时触发,例如:今天有什么安排、这周有什么会、本月会议多少小时、明天要做什么、下周有啥工作、这周有什么事、有啥任务等。
outlook-calendar
读取企业 Microsoft 365 Outlook 日历。当用户问任何涉及日程、会议、安排、工作、任务、事情的问题时触发,例如:今天有什么安排、这周有什么会、本月会议多少小时、明天要做什么、下周有啥工作、这周有什么事、有啥任务等。
owa-outlook
读取企业 Microsoft 365 Outlook 日历和邮件。当用户问任何涉及日程、会议、安排、工作、任务、事情、邮件、收件箱、未读邮件的问题时触发。
calendar-reminder
每晚22:00自动扫描明天的Outlook日历,上午日程提前2小时提醒,下午日程12:00统一提醒,通过飞书发送通知。依赖 owa-outlook skill。
tech-invest-daily
科技行业投资日报生成与推送。当用户要求生成科技投资日报、发送每日投资报告、或cron定时触发日报任务时使用。自动抓取财联社实时新闻、获取涉及上市公司股价、生成深度分析报告并通过飞书一条消息发送完整Markdown报告,同时生成PDF附件。