Multilingual classification
The Clarifai API supports many languages in addition to English. When making a predict api request, you can pass in the language you would like the concepts returned in.
Supported Languages
Language
Code
Arabic (ar)
ar
Bengali (bn)
bn
Danish (da)
da
German (de)
de
English (en)
en
Spanish (es)
es
Finnish (fi)
fi
French (fr)
fr
Hindi (hi)
hi
Hungarian (hu)
hu
Italian (it)
it
Japanese (ja)
ja
Korean (ko)
ko
Dutch (nl)
nl
Norwegian (no)
no
Punjabi (pa)
pa
Polish (pl)
pl
Portuguese (pt)
pt
Russian (ru)
ru
Swedish (sv)
sv
Turkish (tr)
tr
Chinese Simplified (zh)
zh
Chinese Traditional (zh-TW)
zh-TW
Default Language
When you create a new Application, you must specify a default language. This will be the default language concepts are returned in when you do not explicitly set a language in an API request. You cannot change the default language. You can however change languages per request.

Example Predict API Request
You can predict concepts in a language other then the Application's default, by explicitly passing in the language. Here is how you predict concepts in Chinese:
Example Search By Tag API Request
You can search for concepts in other languages even if the default language of your application is English. When you add inputs to your application, concepts are predicted for every language. Here is an example of searching for '人' which is simplified Chinese for 'people'.
Example Search Concepts API Request
You can also search for concepts in a different language:
Last updated
Was this helpful?