API Route: Locale
Endpoints in this page:
Detect Locale
Detects the locale (language) of a piece of content. All keys are required.
POST https://golinguist.com/linguistnow/resources/v1/locale/detectLocale/ | ||
Request Parameters | ||
Key | Type | Description |
translationType | string |
The type of translation engine to use for the language detection (for example "machine")
|
text | string | The text to use for the language detection |
Response Parameters | ||
detectedLanguage | string | The language code for the language detected |
Responses | ||
Code 200 (Operation Successful) | ||
HTTP/1.1 200 OK |
||
Possible Error Codes | ||
400 | Bad Request | |
500 | Internal Server error | |
501 | Unable to detect language | |
537 | Unexpected Error |
Comments
0 comments
Please sign in to leave a comment.