This API is intended to help you to detect the language of any text you pass to it. Also, you will be able to dynamically translate the texts of your choice.
Just pass the text that you want to translate or detect the language from. You will be receiving either the language or the new text translated.
This API is ideal for those companies or users that receive traffic from around the globe.
This API will help you to display your content in the language of your preference so you offer different alternatives for different users.
Also, if you want to reach new audiences with your content, translating those texts will help you to reach that goal.
Besides API call limitations per month:
Language - ISO-639-1 Code
यदि आपके पास एक पाठ है और आप यह सुनिश्चित करना चाहते हैं कि यह किस भाषा में है, तो इस एंडपॉइंट का उपयोग करें
बस पाठ पास करें और यह स्वचालित रूप से इसकी भाषा का पता लगा लेगा
आउटपुट JSON प्रतिक्रिया का उदाहरण:
{
"data": {
"detections": [
[
{
"language": "ja",
"confidence": 1,
"isReliable": false
}
]
]
}
}भाषा पहचानक - एंडपॉइंट फीचर्स
| ऑब्जेक्ट | विवरण |
|---|---|
q |
[आवश्यक] Pass the text which you want to detect its language from. Max: 8k chars. |
{"data":{"detections":[[{"confidence":1,"language":"en","isReliable":false}]]}}
curl --location --request POST 'https://zylalabs.com/api/38/text+translation+and+language+detector+api/109/language+detector?q=Let's see if you can detect this language.' --header 'Authorization: Bearer YOUR_API_KEY'
आप किसी भी पाठ को स्रोत भाषा से आपकी पसंद की लक्ष्य भाषा में अनुवादित कर सकते हैं
इनपुट पाठ: आइए देखते हैं कि यह एंडपॉइंट इस पाठ का अनुवाद कैसे करता है
आउटपुट JSON प्रतिक्रिया का उदाहरण (FR भाषा):
{
"data": {
"translations": [
{
"translatedText": "Voyons comment ce point de terminaison traduit ce texte.",
"detectedSourceLanguage": "en"
}
]
}
}
अनुवाद अंत बिंदु - एंडपॉइंट फीचर्स
| ऑब्जेक्ट | विवरण |
|---|---|
q |
[आवश्यक] The input text to translate. Repeat this parameter to perform translation operations on multiple text inputs. |
target |
[आवश्यक] The language to use for translation of the input text, set to one of the language codes listed in the INFO tab |
format |
वैकल्पिक The format of the source text, in either HTML (default) or plain-text. A value of html indicates HTML and a value of text indicates plain-text. |
source |
वैकल्पिक The language of the source text, set to one of the language codes listed in Language Support. If the source language is not specified, the API will attempt to detect the source language automatically and return it within the response. |
{"data":{"translations":[{"translatedText":"Controlla questo endpoint!","detectedSourceLanguage":"en"}]}}
curl --location --request POST 'https://zylalabs.com/api/38/text+translation+and+language+detector+api/110/translation+endpoint?q=Check this endpoint!&target=it&format=text&source=en' --header 'Authorization: Bearer YOUR_API_KEY'
| हेडर | विवरण |
|---|---|
Authorization
|
[आवश्यक] होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें। |
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
भाषा पहचानने वाला अंत बिंदु इनपुट पाठ की पहचान की गई भाषा के साथ एक विश्वसनीयता स्कोर और विश्वसनीयता स्थिति लौटाता है अनुवाद अंत बिंदु अनुवादित पाठ और इनपुट की पहचान की गई स्रोत भाषा लौटाता है
भाषा पहचानक के लिए मुख्य फ़ील्ड में "भाषा," "विश्वास," और "भरोसेमंद है" शामिल हैं अनुवाद अंत बिंदु के लिए मुख्य फ़ील्ड हैं "अनुवादित पाठ" और "पहचानी गई स्रोत भाषा"
प्रतिक्रिया डेटा JSON प्रारूप में संरचित है प्रत्येक एंडपॉइंट का आउटपुट एक "डेटा" ऑब्जेक्ट содержит करता है जिसमें पहचान या अनुवाद के लिए नेस्टेड एरे होते हैं जिससे विशिष्ट जानकारी को पार्स और एक्सेस करना आसान होता है
भाषा पहचानकर्ता को इनपुट पाठ की आवश्यकता होती है। अनुवाद अंतिम बिंदु को अनुवाद दिशा को निर्दिष्ट करने के लिए स्रोत पाठ और लक्षित भाषा कोड दोनों की आवश्यकता होती है
उपयोगकर्ता विभिन्न इनपुट पाठ प्रदान करके और अनुवाद के लिए उनके संबंधित ISO-639-1 कोड का उपयोग करके विभिन्न लक्षित भाषाओं को निर्दिष्ट करके अनुरोधों को अनुकूलित कर सकते हैं जिससे भाषा के विकल्पों में लचीलेपन की अनुमति मिलती है
सामान्य उपयोग मामलों में अंतर्राष्ट्रीय दर्शकों के लिए वेबसाइट सामग्री का अनुवाद करना उपयोगकर्ता-जनित सामग्री में भाषाओं का पता लगाना और बहुभाषी प्रतिक्रियाएं प्रदान करके ग्राहक समर्थन को बढ़ाना शामिल है
डेटा सटीकता उन्नत एल्गोरिदम के माध्यम से बनाए रखी जाती है जो पाठ के पैटर्न और संदर्भ का विश्लेषण करते हैं नियमित अपडेट और गुणवत्ता जांच सुनिश्चित करती हैं कि भाषा पहचान और अनुवाद प्रक्रियाएँ विश्वसनीय बनी रहें
यदि भाषा पहचानकर्ता कम विश्वास स्तर या खाली परिणाम लौटाए तो अधिक संदर्भ या लंबे पाठ नमूने देने पर विचार करें अनुवाद के लिए सुनिश्चित करें कि स्रोत पाठ स्पष्ट और पूरा हो ताकि आउटपुट गुणवत्ता में सुधार हो सके
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
1,939ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
1,168ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
566ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
77ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
100ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
1,148ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
120ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
167ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
589ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
728ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
1,374ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
1,720ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
3,641ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
1,704ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
1,610ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
2,581ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
620ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
2,199ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
1,318ms
सर्विस लेवल:
100%
रिस्पॉन्स टाइम:
163ms