Skip to content

Commit c9b2b8e

Browse files
committed
Update README.md
1 parent e39765c commit c9b2b8e

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# 🌍 Polyglot - Scalable Translation Service
1+
# 🗣️ Polyglot - Scalable Translation Service
22

33
A fast, reliable, and modular translation API designed to meet the scale required by FxEmbed.
44

55
## 🔄 Native Multi-Provider Architecture
66

7-
We support both scraping free translations from popular services like Google Translate, Bing Translate, and DeepL, as well as paid APIs such as Azure, DeepL API
7+
We support both scraping free translations from popular services like Google Translate, Bing Translate, and DeepL, as well as paid APIs such as Azure, DeepL API, and AWS Translate.
8+
89
- 🎯 **Dynamic Selection**: Chooses between providers based on target language and availability
910
- ⚖️ **Load Balancing and Rate Limit Leveling**: Distributes requests across providers
1011
- 🛡️ **Automatic Failover**: If one provider fails, automatically tries others
@@ -35,9 +36,9 @@ The API will be available at `http://localhost:3000`
3536
### Optional: Configure Paid APIs
3637

3738
Relying on free services alone is not ideal since requests can be throttled or blocked (DeepL in particular is very aggressive at this). So we support a variety of paid translation providers, which luckily have free tiers:
38-
Azure AI Translator - 2M characters free per month
39-
DeepL - 500K characters free per month
40-
AWS - 2M characters free per month, 12 months only
39+
- [Azure AI Translator](https://azure.microsoft.com/en-us/products/ai-services/ai-translator) - 2M characters free per month, forever
40+
- [DeepL](https://www.deepl.com/en/pro-api) - 500K characters free per month, forever
41+
- [AWS Translate](https://aws.amazon.com/translate/) - 2M characters free per month, 12 months only
4142

4243
```
4344
# Azure AI Translator
@@ -47,16 +48,13 @@ AZURE_TRANSLATOR_REGION="eastus"
4748
# DeepL Official API
4849
DEEPL_API_KEY="your_deepl_key"
4950
50-
# DeepLX Cloudflare Worker (if deployed)
51-
DEEPLX_CLOUDFLARE_URL="https://deeplx.example.workers.dev"
52-
5351
# AWS Translate
5452
AWS_ACCESS_KEY_ID="your_access_key_id"
5553
AWS_SECRET_ACCESS_KEY="your_access_key"
5654
AWS_REGION="your_region" # optional, defaults to us-east-1
5755
```
5856

59-
**Note**: Free providers (Google Translate, Bing, DeepLX) work without configuration. Paid APIs are only used if environment variables are provided.
57+
**Note**: Free providers (Google Translate, Bing, DeepLX) work without configuration.
6058

6159
## 📖 API Usage
6260

0 commit comments

Comments
 (0)