Auto-sync enabled

FlatlyPage

Version 1.0.1 • 59 files • 798.19 KB
data/translate-api.xml
<?xml version="1.0" encoding="UTF-8"?>
<translationConfig>
    <apis>
        <api>
            <id>mymemory</id>
            <name>MyMemory</name>
            <endpoint>https://api.mymemory.translated.net/get</endpoint>
            <requiresKey>false</requiresKey>
            <apiKey></apiKey>
            <free>true</free>
            <rateLimit>1000/day</rateLimit>
        </api>
        
        <api>
            <id>google</id>
            <name>Google Translate</name>
            <endpoint>https://translation.googleapis.com/language/translate/v2</endpoint>
            <requiresKey>true</requiresKey>
            <apiKey>YOUR_GOOGLE_API_KEY_HERE</apiKey>
            <free>false</free>
        </api>
        
        <api>
            <id>deepl</id>
            <name>DeepL</name>
            <endpoint>https://api-free.deepl.com/v2/translate</endpoint>
            <requiresKey>true</requiresKey>
            <apiKey>YOUR_DEEPL_API_KEY_HERE</apiKey>
            <free>true</free>
            <rateLimit>500k chars/month</rateLimit>
        </api>

        <api>
            <id>hf-marian</id>
            <name>MarianMT</name>
            <endpoint>https://router.huggingface.co/hf-inference/models/Helsinki-NLP/opus-mt-en-fr</endpoint>
            <requiresKey>true</requiresKey>
            <apiKey>YOUR_HF_API_KEY</apiKey>
            <free>true</free>
            <rateLimit>1000/day</rateLimit>
        </api>
    </apis>
</translationConfig>