https://github.com/kaluluosi/ganf
https://github.com/kaluluosi/ganf
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kaluluosi/ganf
- Owner: kaluluosi
- Created: 2023-08-16T10:23:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T08:39:55.000Z (over 1 year ago)
- Last Synced: 2024-12-29T06:08:51.366Z (6 months ago)
- Language: Python
- Size: 159 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ganf
基于OpenAI的文档批量翻译工具,用来批量的翻译mkdocs、sphinx相关文档。
本工具没有内置OpenAI的Api key,你需要自己去购买OpenAI或者Azure OpenAI的服务。> **note** 后续考虑支持POT等多语言文本的翻译(主要是要支持差异比对增量翻译)
# 安装
> pip install ganf
# 快速开始
在你想要翻译的docs目录下调用 `init` 命令配置翻译策略
```shell
ganf init
```翻译整个文档项目
```shell
ganf build
```