Skip to content

VCC(VRChat Creator Companion) 的翻译脚本, 用于自动翻译 VCC 的界面.

License

Notifications You must be signed in to change notification settings

gizmo-ds/vcc-auto-translate

Repository files navigation

VCC Auto Translate

Release GitHub Downloads License 简体中文 正體中文

VCC(VRChat Creator Companion) 的翻译脚本, 用于自动翻译 VCC 的界面.

项目状态说明

本项目仍然处于正常维护状态,尽管最近没有新的提交,但这并不影响其可用性。

  • 稳定性保证:本项目使用 AST 技术实现翻译,只要 VCC 的 React 代码结构没有大规模变更,翻译功能就不会失效。
  • 自动适配更新:VCC 更新后,只需重新执行补丁安装程序,翻译即可自动应用,无需额外修改代码。
  • 翻译进度:目前 VCC 的大部分文本已完成翻译。由于缺少优秀的翻译人员,未来翻译内容的更新可能不会很频繁,但项目仍然可以正常使用。

如果您遇到任何问题,欢迎提交 Issue,我们会尽力提供支持。

效果图

Screenshot 1

Screenshot 2

自动安装

你可以通过 Release 下载预编译的安装工具并运行, 该工具会自动安装翻译脚本.
如果出现错误, 请尝试将安装工具移动到 VCC 安装目录下运行. (与CreatorCompanion.exe同目录)

Important

VCC Beta 版本必须将安装工具移动到 VCC Beta 目录下运行. (与CreatorCompanionBeta.exe同目录)

如何移除翻译脚本?

  1. 删除 [VCC安装目录]/WebApp/Dist 目录下的 index.html 文件
  2. [VCC安装目录]/WebApp/Dist 目录下的 index.html.backup 重命名为 index.html

手动编译并安装

环境要求:

使用make工具可以更方便地进行编译, 你只需要执行make命令即可完成所有编译步骤. 你可以在build目录找到自动安装工具.

Makefile 仅在 Linux 下测试过, 如果你使用 Windows, 你可以使用 WSL 或这参考以下步骤进行手动编译.

以 PowerShell + pnpm 为例:

pnpm install
pnpm run build:patch-loader
Copy-Item build/patch-loader.js crates/installer/assets/patch-loader.js
cargo build --release --locked

编译完成后, 你可以在target/release目录找到编译好的自动安装工具.

Related

Contributors

Contributors

Sponsors

Sponsors

Thanks

Thanks to JetBrains for the open source license(s).

JetBrains Logo (Main) logo

License

Code is distributed under MIT license, feel free to use it in your proprietary projects as well.