在 OpenClaw 中把中文产品 Excel 或 CSV 本地化为 Amazon 和 Shopify 的多语言 Listing。适用于翻译产品、跨境电商 Listing 本地化、Amazon listing、Shopify listing、localize products 等场景。
这个 skill 运行在 OpenClaw 上:
不要把这个 skill 当成独立翻译程序。它是LLM 工作流 + 本地辅助脚本的组合。
运行:
bash
python3 generate_template.py
告诉用户填写 Products sheet 第 3 行起的数据,再继续。
先运行:
bash
python3 inspectinput.py file>
基于脚本输出完成三件事:
必填字段:
可选字段:
如果用户没有特别说明:
支持的目标市场:
对每个产品、每个目标市场、每个平台分别生成内容。
翻译要求:
先把翻译结果组织成 JSON,再运行:
bash
python3 build_output.py
输出 workbook 需包含:
Amazon sheet 列顺序必须是:
text
product_id
brand
title
bulletpoint1
bulletpoint2
bulletpoint3
bulletpoint4
bulletpoint5
description
backend_keywords
custom_attributes
sourceproductname
Shopify sheet 列顺序必须是:
text
product_id
brand
title
description_html
seo_title
seo_description
tags
product_type
custom_attributes
sourceproductname
生成 Excel 后运行:
bash
python3 validate.py
向用户汇报:
buildoutput.py 读取如下结构。仓库里还提供了可直接参考的 translations.example.json:
json
{
sheets: [
{
name: AmazonenUS,
headers: [
product_id,
brand,
title,
bulletpoint1,
bulletpoint2,
bulletpoint3,
bulletpoint4,
bulletpoint5,
description,
backend_keywords,
custom_attributes,
sourceproductname
],
rows: [
[
SP-001,
SoundPulse,
SoundPulse Noise Cancelling Earbuds,
【NOISE CANCELLATION】...,
【HI-RES AUDIO】...,
【ALL-DAY COMFORT】...,
【SWEAT RESISTANCE】...,
【IN THE BOX】...,
Long description...,
wireless earbuds bluetooth earbuds sports earbuds,
color:black | connectivity:bluetooth 5.3,
SP-Pro 主动降噪真无线蓝牙耳机
]
]
},
{
name: Source_CN,
headers: [productid, brand, productname],
rows: [[SP-001, SoundPulse, SP-Pro 主动降噪真无线蓝牙耳机]]
}
]
}
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 listing-i18n-1775934672 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 listing-i18n-1775934672 技能
skillhub install listing-i18n-1775934672
文件大小: 17.46 KB | 发布时间: 2026-4-12 10:26