宝玉 avatar

宝玉

@dotey

7/7/2025, 2:39:55 AM

问:有个前端项目,json语言包几千行行,而且很多内容很长,比如法律协议之类的,现在 Cursor Token 贵,怎么翻译又少费 Token?

答:1. 让 AI 帮你写一个导出 HTML 和导入 HTML 的程序,根据 translation key 让 HTML 和 JSON 对应,比如

{content}

2. 手动把 HTML 复制到 Gemini 2.5 Pro(AI Studio)去翻译,翻译完了保存成新的 HTML 3. 再运行导入程序把翻译好的 HTML 导入成 JSON 文件
Share
Explore

TwitterXVideo

v1.1.4

The fastest and most reliable Twitter video downloader. Free to use, no registration required.

© 2024 TwitterXVideo All rights reserved.