|
1 | | -# 🌍 Polyglot - Scalable Translation Service |
| 1 | +# 🗣️ Polyglot - Scalable Translation Service |
2 | 2 |
|
3 | 3 | A fast, reliable, and modular translation API designed to meet the scale required by FxEmbed. |
4 | 4 |
|
5 | 5 | ## 🔄 Native Multi-Provider Architecture |
6 | 6 |
|
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 | + |
8 | 9 | - 🎯 **Dynamic Selection**: Chooses between providers based on target language and availability |
9 | 10 | - ⚖️ **Load Balancing and Rate Limit Leveling**: Distributes requests across providers |
10 | 11 | - 🛡️ **Automatic Failover**: If one provider fails, automatically tries others |
@@ -47,16 +48,13 @@ AZURE_TRANSLATOR_REGION="eastus" |
47 | 48 | # DeepL Official API |
48 | 49 | DEEPL_API_KEY="your_deepl_key" |
49 | 50 |
|
50 | | -# DeepLX Cloudflare Worker (if deployed) |
51 | | -DEEPLX_CLOUDFLARE_URL="https://deeplx.example.workers.dev" |
52 | | -
|
53 | 51 | # AWS Translate |
54 | 52 | AWS_ACCESS_KEY_ID="your_access_key_id" |
55 | 53 | AWS_SECRET_ACCESS_KEY="your_access_key" |
56 | 54 | AWS_REGION="your_region" # optional, defaults to us-east-1 |
57 | 55 | ``` |
58 | 56 |
|
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. |
60 | 58 |
|
61 | 59 | ## 📖 API Usage |
62 | 60 |
|
|
0 commit comments