# uihans **Repository Path**: Bilibili-Supercmd/uihans ## Basic Information - **Project Name**: uihans - **Description**: UI汉化工具 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-15 - **Last Updated**: 2025-01-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 翻译助手 ## 简介 翻译助手是一个Python程序,用于翻译UI文件中的字符串。它支持单文件和批量处理模式,能够智能地从知识库中查找翻译结果,如果没有找到,则调用百度翻译API进行翻译。程序还提供了加密和解密功能,用于保护敏感信息。 ## 安装 1. 确保您的系统已经安装了Python。 2. 运行`pip install -r requirements.txt`命令安装所需的依赖。 ## 使用 1. 启动程序,选择操作模式。 2. 根据提示选择或输入待翻译的文件。 3. 程序将翻译文件中的字符串并保存结果。 4. 可以选择查看或设置翻译知识库,或者进行加密和解密操作。 ## 注意事项 - 程序使用百度翻译API进行翻译,需要提供有效的APP ID和APP KEY。 - 知识库中的翻译结果用于加速翻译过程,但可能不完全准确。 - 加密和解密功能用于保护本地存储的内容,使用时请妥善保管密码。 - 仅支持英译中!!!仅支持英译中!!!仅支持英译中!!! ## 问题反馈 如有任何问题或建议,请通过以下方式联系我们: - 邮箱:[trustedinster@outlook.com](mailto:trustedinster@outlook.com) - GitHub:[https://github.com/trustedinster/uihans](https://github.com/trustedinster/uihans) ## 许可证 本项目使用MIT许可证。详情请参阅LICENSE文件。