The Transliteration API is a REST API used to transliterate the content from English to Indic languages and vice-versa. The solution is an automated solution that converts the content in real-time. It is easy to integrate into your applications and display content in the 11 most popular Indian languages
REV-APP-ID
REV-API-KEY
URL Elements | Sample URL |
---|---|
https://(hostname) | https://revapi.reverieinc.com/ |
application/json
transliteration
or
, hi
, bn
or
, hi
, bn
data: "Singh Sahab aap Kahan the."
cnt_lang = "hi"
.src_lang
.isBulk
= true
and will not search in the Exception DB.noOfSuggestions
= 1, means the API will return only one transliteration suggestion for the input string.noOfSuggestions = 2
Source Content | Target Content |
---|---|
Rama | 1. रामा |
2. रमा |
abbreviate
= true
enableLookup
= true
.nmtMask
= true
, it is mandatory the src_lang
= en
(English).Source String | Target String |
---|---|
2020.04 | २०२०.०४ |
Source String | Target String |
---|---|
505 | पांच सौ पांच |
sector V
in English, the transliteration would be सेक्टर 5
in Hindi.Block II
will be transliterated as ब्लॉक 2
.ignoreTaggedEntities
= true
and will transliterate the email ID and URL into the target language script.ignoreTaggedEntities = false
Source String | Target String |
---|---|
Check product details in www.reverieinc.com | चेक प्रोडक्ट डिटेल्स इन www.reverieinc.com |
False
.15th Main
in English, the transliteration would be 15 मेन
in Hindi.False
.SMS
as an input, then the result would be एसएमएस
.api_status
= 2 for all the successful transactions.Status Code | Status Type | Message | Description |
---|---|---|---|
200 | Success/OK | - | Successfully executed the request. |
400 | Bad Request | Message depending on the missing parameter | Incorrect request format or data posted incorrectly. |
403 | Forbidden | Invalid REV-API-KEY or REV-APP-ID | Entered invalid credentials. |
403 | Forbidden | usage exhausted | The provided credits or character limit is exhausted. |
403 | Forbidden | API key expired | The API key provided to a user is expired. |
403 | Forbidden | unauthorized to use this src/tgt language | Invalid language code passed or user cannot use the defined language code. |
403 | Forbidden | unauthorized to use this API | The REV-APPNAME entered is invalid, or the user is not authorized to use it. |
500 | Internal Server Error | Internal Server Error | An error occurred with the API. |