Skip to content

Latest commit

 

History

History
105 lines (96 loc) · 1.98 KB

detectable-languages.md

File metadata and controls

105 lines (96 loc) · 1.98 KB
copyright lastupdated
years
2015, 2017
2017-07-21

{:shortdesc: .shortdesc} {:new_window: target="_blank"} {:tip: .tip} {:pre: .pre} {:codeblock: .codeblock} {:screen: .screen} {:javascript: .ph data-hd-programlang='javascript'} {:java: .ph data-hd-programlang='java'} {:python: .ph data-hd-programlang='python'} {:swift: .ph data-hd-programlang='swift'}

Detectable languages

When you analyze text or a web page, Natural Language Understanding detects the source language automatically and returns the corresponding ISO 639-1 code in the response. For automatic language detection to work best, it is recommended that you use text with at least 100 characters. {: shortdesc}

If automatic language detection isn't working well for your use case, you can manually specify the language of your content in each request. {: tip}

The following table lists the detectable languages and corresponding ISO 639-1 codes.

Language ISO 639-1 code
Afrikaans af
Albanian sq
Amharic am
Arabic ar
Armenian hy
Azerbaijani az
Basque eu
Bengali bn
Breton br
Bulgarian bg
Catalan ca
Chamorro ch
Chinese zh
Croatian hr
Czech cs
Danish da
Dutch nl
English en
Esperanto eo
Estonian et
Faroese fo
Fijian fj
Finnish fi
French fr
Georgian ka
German de
Greek el
Gujarati gu
Haitian Creole ht
Hausa ha
Hebrew he
Hindi hi
Hungarian hu
Icelandic is
Indonesian id
Irish ga
Italian it
Japanese ja
Kirghiz ky
Korean ko
Latin la
Latvian lv
Lithuanian lt
Macedonian mk
Malay ms
Maltese mt
Maori mi
Ndebele nr
Nepali ne
Norwegian no
Ojibwa oj
Persian fa
Polish pl
Portuguese pt
Pushto ps
Romanian ro
Russian ru
Serbian sr
Shona sn
Slovak sk
Slovenian sl
Spanish es
Swahili sw
Swedish sv
Tagalog tl
Thai th
Turkish tr
Ukrainian uk
Urdu ur
Vietnamese vi
Welsh cy
Wolof wo
Xhosa xh