Skip to content

List the supported languages

GET
/v1/apps/{appId}/languages
curl --request GET \
--url https://api.shoofai.com/v1/apps/demo-store/languages \
--header 'x-shoof-api-key: <x-shoof-api-key>'

The languages indexLanguages, queryLanguages and the dictionaries take, with what each supports.

appId
required
string

The app’s id, shown in the dashboard (for example ali-sport-goods). demo-store is the public demo app.

Example

demo-store

The languages.

Media typeapplication/json
object
languages
Array<object>
object
code
string
Allowed values: ar bg bn ca ckb cs da de el en es et eu fa fi fr ga gl he hi hu hy id it ja ko lt lv nl no pt ro ru sr sv th tr ur zh
name
string
scripts
Array<string>
plurals

Has a stemmer

boolean
stopWords

Has a built-in stop word list.

boolean
decompound

Writes compound words as one; the compounds dictionary splits them.

boolean
segmentation

Is written without spaces between words

boolean

Example

{
"languages": [
{
"code": "ar",
"name": "Arabic"
}
]
}