多语言本地化翻译工具 MCP Server
@vlinr
Basic information
About 多语言本地化翻译工具 MCP Server
一个简单的翻译MCP Server,可以实现单文件或者目录翻译能力,仅支持JSON数据(JSON,JS,TS格式),根据文件名称自动截取翻译的目标语言,完成自动化处理。
多语言本地化翻译工具 MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"transform": {
"command": "node",
"args": [
"{\"apiKey\":\"你的API密钥\",\"modelName\":\"你使用的模型名称\",\"baseUrl\":\"API基础URL\"}"
]
}
}
}多语言本地化翻译工具 MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
什么是多语言本地化翻译工具?
这是一个基于大语言模型的本地化翻译工具,可以自动处理并翻译各种本地化文件(.ts、.js、.json)中的文本内容。
如何用多语言本地化翻译工具?
在Cursor的MCP配置中根据操作系统(Mac/Windows)添加对应的配置,包含apiKey、modelName和baseUrl。文件需按命名规范包含语言代码(如en-US, zh-CN),工具会自动识别、备份并翻译。
关键特性于多语言本地化翻译工具
- 支持TypeScript、JavaScript和JSON文件格式
- 自动备份原始文件,格式为“原文件名.backup.时间戳.扩展名”
- 保持源文件格式和结构不变
- 支持整个目录批量处理和单文件处理
- 大文件自动分块处理(默认每块最多500个键值对)
- 并发处理多个文件,单个文件失败不影响其他文件
多语言本地化翻译工具的使用场景
- 批量翻译项目中所有本地化文件,自动创建输出目录结构
- 为多语言应用快速生成翻译后的资源文件
- 在开发工作流中集成翻译,无需手动导出导入
- 安全地翻译现有翻译文件,保留备份以防误操作
多语言本地化翻译工具常见问题
翻译前文件会被备份吗?
会。处理前会自动备份原文件,备份文件格式为“原文件名.backup.时间戳.扩展名”。
如果某个文件处理失败会怎样?
单个文件处理失败不会影响其他文件,控制台会输出处理状态和错误信息。
如何指定翻译的目标语言?
通过文件名中的语言代码自动识别源语言,工具会根据配置翻译成目标语言(具体目标语言需在配置中指定,但README未详细说明目标语言设置方式)。
大文件如何处理?
大文件会自动分块处理,默认每块最大处理500个键值对,并支持并发处理多个文件提高效率。
路径应该如何设置?
请使用绝对路径,相对路径会被解析为代码执行位置,可能导致文件找不到。
More Other MCP servers

EverArt
modelcontextprotocolModel Context Protocol Servers
Blender
ahujasidOpen-source MCP to use Blender with any LLM

Klarix Intelligence Engine
KlarixB2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.

Figs, Relationship Expert
Figs O'Sullivan, LMFTCouples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Comments