mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-29 03:11:01 +00:00
update auto detect example to show "detectedLanguage" object in response
This commit is contained in:
parent
86cb815395
commit
dc81d6c80a
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ Response:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
|
"detectedLanguage": {
|
||||||
|
"confidence": 83,
|
||||||
|
"language": "it"
|
||||||
|
},
|
||||||
"translatedText": "Bye!"
|
"translatedText": "Bye!"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue