Online Translation Services
Google Translate
Google Translate
Overview
Free Google Translate API. No API key required.Configuration
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
delay | float | 0.0 | Delay between requests (seconds) |
Supported Languages
- Auto-detection
- Chinese (Simplified/Traditional)
- Japanese, Korean
- English, French, German, Spanish, Italian
- Portuguese, Russian, Dutch, Polish
- Vietnamese, Thai, Arabic, Hindi
- And many more…
Features
- Free: No API key needed
- Multi-language: Broad language support
- Auto-detection: Can detect source language
- Fast: Quick response times
DeepL
DeepL
Overview
High-quality translation service. Requires API key.Setup
- Get API key from DeepL API
- Configure in settings:
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
api_key | string | - | DeepL API key (required) |
delay | float | 0.0 | Request delay |
formality | selector | default | Tone (less/more/default/prefer_more/prefer_less) |
context | editor | - | Context for translation |
preserve_formatting | selector | disabled | Keep text formatting |
Formality Support
Languages supporting formality settings:- German, French, Italian, Spanish
- Dutch, Polish, Portuguese, Russian, Japanese
Context Feature
Provide context for better translations:Supported Languages
- Chinese (Simplified)
- Japanese, Korean
- English, German, French, Spanish, Italian
- Portuguese, Brazilian Portuguese
- Russian, Dutch, Polish
- And more EU languages
Features
- High Quality: Best-in-class translation
- Formality Control: Adjust tone/politeness
- Context-Aware: Provide context for accuracy
- Formatting: Preserve text formatting
DeepLX (Free DeepL Alternative)
DeepLX (Free DeepL Alternative)
Caiyun (彩云小译)
Caiyun (彩云小译)
Overview
Chinese translation service. Good for Chinese ↔ Japanese/English.Setup
- Get token from Caiyun Dashboard
- Configure:
Supported Languages
- Chinese (Simplified)
- Japanese
- English
Features
- Chinese-Optimized: Excellent for Chinese translation
- Affordable: Competitive pricing
Papago
Papago
Baidu Translate
Baidu Translate
Yandex Translate
Yandex Translate
Youdao Translate
Youdao Translate
Overview
Chinese translation service by Youdao (有道翻译).Setup
- Get API credentials from Youdao AI
- Configure in settings:
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
api_key | string | - | Youdao App ID (required) |
app_secret | string | - | Youdao App Secret (required) |
Supported Languages
- Chinese (Simplified/Traditional)
- Japanese, Korean
- English, French, German, Spanish, Italian
- Portuguese, Russian, Arabic, Vietnamese
Features
- Chinese-Optimized: Excellent for Chinese translations
- Multi-language: Supports many Asian and European languages
- Affordable: Competitive pricing
Text Generation WebUI (TGW)
Text Generation WebUI (TGW)
Overview
Connect to local text-generation-webui server for LLM-based translation.Setup
- Install and run text-generation-webui
- Load your preferred translation model
- Configure server URL in BallonTranslator
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
app_url | string | - | TGW server URL (required) |
timeout | int | 30 | Request timeout in seconds |
number_of_contexts | int | 3 | Number of previous translations for context |
system_prompt | text | (default) | System instruction for the model |
prompt | text | (default) | Translation instruction template |
max_tokens | int | 200 | Maximum output length |
temperature | float | 0.6 | Sampling temperature |
top_p | float | 0.9 | Nucleus sampling parameter |
top_k | int | 20 | Top-K sampling parameter |
Features
- Local Control: Run any LLM locally
- Customizable: Full control over prompts and parameters
- Context-Aware: Uses translation history for consistency
- Free: No API costs, just hardware
Use Cases
- Testing different translation models
- Using uncensored/specialized models
- Offline translation with custom models
- Fine-tuned models for specific domains
Offline Translation Models
Sugoi Translator (Japanese → English)
Sugoi Translator (Japanese → English)
Overview
Offline Japanese to English translation model by mingshiba.Setup
- Download offline model from Google Drive
- Extract
sugoi_translatorfolder - Move to
BallonsTranslator/ballontranslator/data/models/
Configuration
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
device | selector | auto | Processing device (cuda/cpu) |
Model Files
data/models/sugoi_translator/data/models/sugoi_translator/spm.ja.nopretok.model(tokenizer)
Features
- Offline: No internet required
- Free: No API costs
- Privacy: All processing local
- Japanese Focus: Optimized for manga/anime
Limitations
- Japanese → English only
- Requires significant disk space
- GPU recommended for speed
ezTrans (Windows Only)
ezTrans (Windows Only)
Overview
Windows-only offline translator for Japanese ↔ Korean translation.Setup
- Download ezTrans engine files
- Place engine files in the appropriate directory
- Configure engine path in settings
Configuration
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
engine_path | string | - | Path to ezTrans engine executable |
engine_type | selector | J2K | Translation direction (J2K or K2J) |
dat_path | string | - | Path to engine data file |
Supported Languages
- Japanese ↔ Korean only
Features
- Offline: No internet required
- Bidirectional: Japanese ↔ Korean
- Specialized: Optimized for J-K translation pairs
Limitations
- Windows Only: Requires 32-bit Windows or compatibility layer
- Limited Languages: Only Japanese and Korean
- Setup Required: Needs external engine files
Sakura-13B-Galgame (Japanese → Chinese)
Sakura-13B-Galgame (Japanese → Chinese)
Overview
Sakura-13B-Galgame - LLM optimized for Japanese visual novel translation.Setup
Download model from HuggingFace and configure path.Configuration
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
model_path | string | - | Path to Sakura model |
low_vram_mode | checkbox | True | Enable for < 24GB VRAM |
device | selector | auto | Processing device |
dict_path | string | - | Optional dictionary path |
version | selector | 0.9 | Model version (0.9/1.0) |
temperature | float | 0.1 | Sampling temperature |
top_p | float | 0.3 | Nucleus sampling |
max_tokens | int | 512 | Max output length |
Dictionary Support
Sakura supports custom dictionaries:- Galtransl: Standard format
- Sakura: Native format
- JSON: Custom JSON format
Features
- Offline: Local LLM
- Context-Aware: Uses conversation context
- Dictionary Support: Custom terminology
- VN-Optimized: Trained on visual novels
- VRAM Efficient: Low VRAM mode available
System Requirements
- Minimum: 16GB RAM, 8GB VRAM (int4)
- Recommended: 32GB RAM, 24GB VRAM (fp16)
- Storage: ~26GB for model files
M2M100 (Multi-language)
M2M100 (Multi-language)
Overview
Facebook’s multilingual translation model.Setup
- Download m2m100-1.2B-ctranslate2
- Move to
data/models/m2m100-1.2B-ctranslate2/
Configuration
Features
- 100+ Languages: Massive language support
- Offline: No internet needed
- Single Model: One model for all pairs
LLM-based Translators
ChatGPT / GPT-4
ChatGPT / GPT-4
Overview
OpenAI’s GPT models for high-quality translation.Configuration
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
api key | string | - | OpenAI API key |
model | selector | gpt-4o | Model (gpt-4o/gpt-4-turbo/gpt-3.5-turbo) |
override model | string | - | Custom model name |
prompt template | editor | - | Custom prompt |
chat system template | editor | - | System message |
chat sample | editor | - | Few-shot examples |
max tokens | int | 4096 | Max response length |
temperature | float | 0.5 | Sampling temperature |
top p | float | 1.0 | Nucleus sampling |
delay | float | 0.3 | Request delay |
max requests per minute | int | 20 | Rate limiting |
retry attempts | int | 5 | Retry on failure |
3rd party api url | string | - | Custom API endpoint |
Customizing Prompts
Few-shot Learning
Provide examples for better translation:Features
- High Quality: Best-in-class translation
- Context-Aware: Understands manga context
- Customizable: Full prompt control
- Multi-language: Supports all major languages
Cost Considerations
- GPT-4o: ~$5/1M input tokens
- GPT-4-turbo: ~$10/1M input tokens
- GPT-3.5-turbo: ~$0.50/1M input tokens
ChatGPT Experimental (Long Text)
ChatGPT Experimental (Long Text)
Overview
Enhanced ChatGPT translator for long text with “jailbreak” prompt.Configuration
Differences from Standard ChatGPT
- Higher Token Usage: More detailed prompts
- Better Stability: Improved sentence splitting
- Long Text: Handles longer passages
- Jailbreak Prompt: Enhanced translation quality
When to Use
- Long text passages
- Need maximum quality
- Token cost is not a concern
OpenAI-Compatible APIs
OpenAI-Compatible APIs
Overview
Use any OpenAI-compatible API (local models, third-party services).Supported Services
- OpenRouter: Access multiple models
- Together AI: Fast inference
- Groq: Ultra-fast LLM inference
- LocalAI: Run models locally
- Ollama: Local model serving
- LM Studio: Local LLM GUI
Configuration
Features
- Flexible: Use any OpenAI-compatible API
- Local Options: Run models locally
- Cost Control: Choose cheaper alternatives
- Privacy: Keep data local
LLM API (Generic)
LLM API (Generic)
Utility Translators
None (Keep Existing)
None (Keep Existing)
Copy Source
Copy Source
Usage Examples
Basic Translation
Translate Text Blocks
Batch Translation
Choosing a Translator
| Use Case | Recommended | Notes |
|---|---|---|
| Best quality | GPT-4 or DeepL | Highest accuracy |
| Free online | Google Translate | No API key needed |
| Offline | Sugoi or M2M100 | No internet required |
| Japanese → English | Sugoi or GPT-4 | Excellent for manga |
| Japanese → Chinese | Sakura-13B | VN-optimized |
| Multi-language | Google or M2M100 | Broad support |
| Privacy-focused | Offline models | Data stays local |
| Budget-friendly | Google or DeepLX | Free options |
Advanced Configuration
Rate Limiting
Custom Text Processing
Post-processing
Adding Custom Translators
See 加别的翻译器.md for guide.Troubleshooting
API Key Errors
- Verify API key is correct
- Check API key has credits/quota
- Ensure API key has proper permissions
Rate Limiting
Poor Translation Quality
- Try better model: Use GPT-4 or DeepL
- Provide context: Use context parameter
- Add examples: Use few-shot learning
- Customize prompt: Adjust instructions
Connection Errors
- Check internet connection
- Verify API endpoint URL
- Try different region/VPN (for blocked services)
- Use offline model as fallback
