Описание
# ChatTranslator
A Fabric mod that translates Minecraft chat in real-time using the DeepL API. Perfect for international servers like Hypixel.
---
## 🌍 Supported UI Languages / ローカライズ対応
The settings menu and interface are available in:
Modの設定画面等は以下の言語で表示可能です:
- **English** 🇺🇸 / **日本語** 🇯🇵 / **简体中文** 🇨🇳 / **한국어** 🇰🇷
- **Deutsch** 🇩🇪 / **Español** 🇪🇸 / **Français** 🇫🇷 / **Português (Brasil)** 🇧🇷
- **Tiếng Việt** 🇻🇳 / **ไทย** 🇹🇭
---
## 🔑 DeepL API Key / APIキーの取得方法
This mod requires a **DeepL API key** to function.
このMODを使用するには **DeepL APIキー** が必要です。
### What is the DeepL API? / DeepL APIとは?
[DeepL](https://www.deepl.com/) is a high-quality machine translation service known for its natural and accurate translations. The API allows applications like this mod to use DeepL's translation engine directly.
DeepLは自然で高精度な翻訳で知られる機械翻訳サービスです。APIを使うことで、このMODのようなアプリケーションから直接DeepLの翻訳エンジンを利用できます。
### How to get your API Key / APIキーの取得手順
1. **Go to the DeepL API page / DeepL APIページにアクセス**
👉 https://www.deepl.com/pro-api
2. **Sign up for a free account / 無料アカウントを作成**
Click **"Sign Up Free"** and create an account. No credit card required for the Free tier.
「**無料で登録**」をクリックしてアカウントを作成します。無料プランはクレジットカード不要です。
3. **Copy your API key / APIキーをコピー**
After logging in, go to your [Account Settings](https://www.deepl.com/account/summary) and find your **Authentication Key**.
ログイン後、[アカウント設定](https://www.deepl.com/account/summary)から**認証キー**を確認・コピーします。
4. **Enter it in the mod / MODに入力**
Press **J** in-game → Enter your API key in the settings screen.
ゲーム内で **Jキー** を押し、設定画面にAPIキーを入力します。
### Free vs Pro / 無料プランとProプランの違い
| | Free / 無料 | Pro |
| :--- | :--- | :--- |
| Monthly characters / 月間文字数 | 500,000 | Unlimited / 無制限 |
| Cost / 料金 | Free / 無料 | Paid / 有料 |
| API endpoint | `api-free.deepl.com` | `api.deepl.com` |
| Credit card required / カード登録 | ❌ Not required / 不要 | ✅ Required / 必要 |
> **Note / 注意:** The Free plan supports 500,000 characters per month, which is more than enough for casual use on a Minecraft server.
> 無料プランの月500,000文字は、Minecraftサーバーでの通常利用には十分な量です。
---
## 🇺🇸 English Guide
- **Universal Translation:** Supports all languages available in the DeepL API!
- **Setup:** Press **J** in-game -> Enter API Key -> Add Rule (e.g., `AUTO` -> `EN-US`).
- **Commands:** `/tr ` to translate your message, `/translate on/off` to toggle.
---
## 🇯🇵 日本語ガイド
- **万能な翻訳機能:** DeepL APIが対応している**すべての言語**間で相互に翻訳可能です!
- **設定方法:** ゲーム内で **Jキー** を押し、APIキーを入力。「翻訳ルール」で `AUTO` -> `JA` 等を設定。
- **コマンド:** `/tr ` で自分の発言を翻訳、`/translate on/off` で機能のオンオフ。
---
## 🌐 DeepL Language Codes / 翻訳対応言語
You can translate to any of these languages (and more!):
以下の言語コードを使用して、あらゆる言語へ翻訳できます。
| Language | Code | Language | Code |
| :--- | :--- | :--- | :--- |
| **Japanese** | `JA` | **English (US/UK)** | `EN-US` / `EN-GB` |
| **Chinese (Simp)** | `ZH` | **Korean** | `KO` |
| **French** | `FR` | **German** | `DE` |
| **Spanish** | `ES` | **Portuguese (BR)** | `PT-BR` |
| **Italian** | `IT` | **Russian** | `RU` |
| **Vietnamese** | `VI` | **Turkish** | `TR` |
Click to view more languages / その他すべての対応言語を表示
Arabic (`AR`), Bulgarian (`BG`), Czech (`CS`), Danish (`DA`), Dutch (`NL`), Estonian (`ET`), Finnish (`FI`), Greek (`EL`), Hungarian (`HU`), Indonesian (`ID`), Latvian (`LV`), Lithuanian (`LT`), Norwegian (`NB`), Polish (`PL`), Romanian (`RO`), Slovak (`SK`), Slovenian (`SL`), Swedish (`SV`), Ukrainian (`UK`)
---
## Disclaimer / 注意事項
- Requires DeepL API Key (Free or Pro). / DeepL APIキー(無料・Pro問わず)が必要です。
- This is an unofficial mod. Use at your own risk. / 本MODは非公式プロジェクトです。利用は自己責任でお使いください。