Skip to content

Commit dbed8c6

Browse files
committed
Readme
1 parent 1da1497 commit dbed8c6

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ English | [简体中文](README_CN.md)
77
This is a multilingual translation automation tool based on the
88
[Unity Localization plugin](https://docs.unity3d.com/Packages/com.unity.localization@1.0/manual/index.html)
99
and the [OpenAI API](https://openai.com/blog/openai-api).
10-
This tool can automatically translate missing string entries in Unity Localization using OpenAI GPT,
10+
This tool can automatically translate missing string entries in Unity Localization using OpenAI GPT or DeepSeek,
1111
making multilingual support both simple and efficient.
1212

1313
![preview](Intro.gif)
@@ -17,6 +17,11 @@ making multilingual support both simple and efficient.
1717
2. **Customize translation requirements**: Use the Comment in the String Table Metadata to provide additional translation requirements for GPT, controlling translation result preferences.
1818
3. **Iterate on translation results**: You can delete and retranslate unsatisfactory translation results at any time. You can also specify translation for a single item.
1919

20+
### Using DeepSeek API
21+
Now this plugin supports DeepSeek API.
22+
You can choose OpenAI or DeepSeek as the translation service provider.
23+
For DeepSeek, set the base URL to `https://api.deepseek.com` and select model to `deepseek-chat` or `deepseek-reasoner`.
24+
2025
## Usage
2126

2227
### Installing the Plugin
@@ -33,17 +38,20 @@ making multilingual support both simple and efficient.
3338
### Configuring the OpenAI API Key
3439
* Go to https://platform.openai.com/api-keys to get your API Key.
3540
41+
### Or Configuring the DeepSeek API Key
42+
* Go to https://platform.deepseek.com/api_keys to get your API Key.
43+
3644
## How to Use
3745
Open the `Tools > GPT Localization` menu in Unity to open the GPT Localization window.
3846
3947
![Screenshot](Screenshot.png)
4048
4149
### 1. Fill in the GPT Model Parameters
42-
| Parameter | Description |
43-
|--------------|----------------------------------------------------------------------|
44-
| Base Url | Default is https://api.openai.com/v1, can also use other proxy URLs. |
45-
| API Key | Your OpenAI API Key. |
46-
| Model | Choose a GPT model, such as `gpt-3.5-turbo`, `gpt-4-turbo-preview`. |
50+
| Parameter | Description |
51+
|--------------|---------------------------------------------------------------------------------------------------------------------|
52+
| Base Url | Default is https://api.openai.com/v1, can also use other proxy URLs. |
53+
| API Key | Your OpenAI API Key. |
54+
| Model | Choose a GPT model, such as `gpt-3.5-turbo`, `gpt-4-turbo-preview`. |
4755
| Temperature | Controls the diversity of translation results, 0.0 for most accurate translation, 1.0 for most diverse translation. |
4856
4957
### 2. Select the String Table Collection

README_CN.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
2. __自定义翻译需求__:通过 String Table Metadata 的 Comment 为 GPT 额外提供翻译需求,控制翻译结果偏好。
1515
3. __迭代翻译结果__:对不满意的翻译结果可以随时删除,重新翻译。也可以单独指定翻译某一项。
1616

17+
### 使用 DeepSeek API
18+
现在这个插件支持 DeepSeek API。
19+
你可以选择 OpenAI 或 DeepSeek 作为翻译服务提供商。
20+
对于 DeepSeek,将 base URL 设置为 `https://api.deepseek.com` 并选择模型 `deepseek-chat``deepseek-reasoner`
21+
1722
## 使用
1823

1924
### 安装插件
@@ -30,6 +35,9 @@
3035
### 配置 OpenAI API Key
3136
* 到 https://platform.openai.com/api-keys 获取你的 API Key
3237
38+
### 或者:配置 DeepSeek API Key
39+
* 到 https://platform.deepseek.com/api_keys 获取你的 API Key。
40+
3341
## 使用方法
3442
在 Unity 打开菜单 `Tools > GPT Localization`, 打开 GPT Localization 窗口。
3543

0 commit comments

Comments
 (0)