自动翻译器
能借助多个人工智能提供商自动翻译模组、游戏资源以及内容补丁器内容,可提供灵活且经济实惠的翻译选择,实时翻译游戏内文本(包括 NPC 对话、道具说明、菜单界面等)。避免复杂表述,方便玩家快速识别功能。
注意注意!!必须要有API密钥。
使用方法:
需要在游戏根目录\Mods\AutoTranslator\config.json 中配置你的 AI 服务提供商和 API 密钥
如果已获取以下密钥,直接将对应AI复制到文件中即可
最小配置(OpenAI)
{
"AIProvider": "openai",
"OpenAIApiKey": "your-api-key-here",
"OpenAIModel": "gpt-4o-mini",
"UseGeneralLocale": true,
"EnableSmartUpdates": true,
"VerboseI18nLogging": false
}
DeepSeek 配置(经济型)
{
"AIProvider": "deepseek",
"DeepSeekApiKey": "your-api-key-here",
"DeepSeekModel": "deepseek-chat",
"CallDelayMs": 500
}
Anthropic 配置(高质量)
{
"AIProvider": "anthropic",
"AnthropicApiKey": "your-api-key-here",
"AnthropicModel": "claude-3-5-sonnet-20240620",
"CallDelayMs": 1000
}
Google Gemini 配置(多功能)
{
"AIProvider": "google",
"GoogleApiKey": "your-api-key-here",
"GoogleModel": "gemini-1.5-pro",
"CallDelayMs": 600
}

备注:创作者mahsouto已授权
