|
| 1 | +--- |
| 2 | +title: Language support - Content Safety |
| 3 | +titleSuffix: Azure AI services |
| 4 | +description: This is a list of natural languages that the Content Safety API supports. |
| 5 | +services: cognitive-services |
| 6 | +author: PatrickFarley |
| 7 | +manager: nitinme |
| 8 | +ms.service: cognitive-services |
| 9 | +ms.subservice: content-safety |
| 10 | +ms.topic: conceptual |
| 11 | +ms.date: 08/01/2023 |
| 12 | +ms.author: pafarley |
| 13 | + |
| 14 | +--- |
| 15 | + |
| 16 | +# Language support for Content Safety |
| 17 | + |
| 18 | +Some capabilities of Azure Content Safety support multiple languages; any capabilities not mentioned here only support English. |
| 19 | + |
| 20 | +## Text moderation |
| 21 | + |
| 22 | +The Content Safety text moderation feature supports many languages, but it has been specially trained and tested on a smaller set of languages. |
| 23 | + |
| 24 | +> [!NOTE] |
| 25 | +> **Language auto-detection** |
| 26 | +> |
| 27 | +> You don't need to specify a language code for text moderation; the service automatically detects your input language. |
| 28 | +
|
| 29 | +| Language name | Language code | Text moderation | Specially trained | |
| 30 | +|-----------------------|---------------|--------|--| |
| 31 | +| Afrikaans | `af` | ✔️ | | |
| 32 | +| Albanian | `sq` | ✔️ | | |
| 33 | +| Amharic | `am` | ✔️ | | |
| 34 | +| Arabic | `ar` | ✔️ | | |
| 35 | +| Armenian | `hy` | ✔️ | | |
| 36 | +| Azerbaijani | `az` | ✔️ | | |
| 37 | +| Bangla | `bn` | ✔️ | | |
| 38 | +| Basque | `eu` | ✔️ | | |
| 39 | +| Belarusian | `be` | ✔️ | | |
| 40 | +| Bulgarian | `bg` | ✔️ | | |
| 41 | +| Bulgarian (Latin) | `bg-Latn` | ✔️ | | |
| 42 | +| Burmese | `my` | ✔️ | | |
| 43 | +| Catalan | `ca` | ✔️ | | |
| 44 | +| Cebuano | `ceb` | ✔️ | | |
| 45 | +| Chinese | `zh` | ✔️ | ✔️ | |
| 46 | +| Chinese (Latin) | `zh-Latn` | ✔️ | | |
| 47 | +| Corsican | `co` | ✔️ | | |
| 48 | +| Croatian | `hr` | ✔️ | | |
| 49 | +| Czech | `cs` | ✔️ | | |
| 50 | +| Danish | `da` | ✔️ | | |
| 51 | +| Dutch | `nl` | ✔️ | | |
| 52 | +| English | `en` | ✔️ | ✔️ | |
| 53 | +| Esperanto | `eo` | ✔️ | | |
| 54 | +| Estonian | `et` | ✔️ | | |
| 55 | +| Filipino | `fil` | ✔️ | | |
| 56 | +| Finnish | `fi` | ✔️ | | |
| 57 | +| French | `fr` | ✔️ | ✔️ | |
| 58 | +| Galician | `gl` | ✔️ | | |
| 59 | +| Georgian | `ka` | ✔️ | | |
| 60 | +| German | `de` | ✔️ | ✔️ | |
| 61 | +| Greek | `el` | ✔️ | | |
| 62 | +| Greek (Latin) | `el-Latn` | ✔️ | | |
| 63 | +| Gujarati | `gu` | ✔️ | | |
| 64 | +| Haitian | `ht` | ✔️ | | |
| 65 | +| Hausa | `ha` | ✔️ | | |
| 66 | +| Hawaiian | `haw` | ✔️ | | |
| 67 | +| Hebrew | `iw` | ✔️ | | |
| 68 | +| Hindi | `hi` | ✔️ | | |
| 69 | +| Hindi (Latin script) | `hi-Latn` | ✔️ | | |
| 70 | +| Hmong, Mong | `hmn` | ✔️ | | |
| 71 | +| Hungarian | `hu` | ✔️ | | |
| 72 | +| Icelandic | `is` | ✔️ | | |
| 73 | +| Igbo | `ig` | ✔️ | | |
| 74 | +| Indonesian | `id` | ✔️ | | |
| 75 | +| Irish | `ga` | ✔️ | | |
| 76 | +| Italian | `it` | ✔️ | ✔️ | |
| 77 | +| Japanese | `ja` | ✔️ | ✔️ | |
| 78 | +| Japanese (Latin) | `ja-Latn` | ✔️ | | |
| 79 | +| Javanese | `jv` | ✔️ | | |
| 80 | +| Kazakh | `kk` | ✔️ | | |
| 81 | +| Khmer | `km` | ✔️ | | |
| 82 | +| Korean | `ko` | ✔️ | | |
| 83 | +| Kurdish | `ku` | ✔️ | | |
| 84 | +| Kyrgyz | `ky` | ✔️ | | |
| 85 | +| Lao | `lo` | ✔️ | | |
| 86 | +| Latin | `la` | ✔️ | | |
| 87 | +| Latvian | `lv` | ✔️ | | |
| 88 | +| Lithuanian | `lt` | ✔️ | | |
| 89 | +| Luxembourgish | `lb` | ✔️ | | |
| 90 | +| Macedonian | `mk` | ✔️ | | |
| 91 | +| Malagasy | `mg` | ✔️ | | |
| 92 | +| Malay | `ms` | ✔️ | | |
| 93 | +| Malayalam | `ml` | ✔️ | | |
| 94 | +| Maltese | `mt` | ✔️ | | |
| 95 | +| Maori | `mi` | ✔️ | | |
| 96 | +| Marathi | `mr` | ✔️ | | |
| 97 | +| Mongolian | `mn` | ✔️ | | |
| 98 | +| Nepali | `ne` | ✔️ | | |
| 99 | +| Nyanja | `ny` | ✔️ | | |
| 100 | +| Norwegian | `no` | ✔️ | | |
| 101 | +| Pashto | `ps` | ✔️ | | |
| 102 | +| Persian | `fa` | ✔️ | | |
| 103 | +| Polish | `pl` | ✔️ | | |
| 104 | +| Portuguese | `pt` | ✔️ | ✔️ | |
| 105 | +| Punjabi | `pa` | ✔️ | | |
| 106 | +| Romanian | `ro` | ✔️ | | |
| 107 | +| Russian | `ru` | ✔️ | | |
| 108 | +| Russian (Latin) | `ru-Latn` | ✔️ | | |
| 109 | +| Scottish Gaelic | `gd` | ✔️ | | |
| 110 | +| Serbian | `sr` | ✔️ | | |
| 111 | +| Shona | `sn` | ✔️ | | |
| 112 | +| Sindhi | `sd` | ✔️ | | |
| 113 | +| Sinhala | `si` | ✔️ | | |
| 114 | +| Slovak | `sk` | ✔️ | | |
| 115 | +| Slovenian | `sl` | ✔️ | | |
| 116 | +| Somali | `so` | ✔️ | | |
| 117 | +| Southern Sotho | `st` | ✔️ | | |
| 118 | +| Spanish | `es` | ✔️ | ✔️ | |
| 119 | +| Sundanese | `su` | ✔️ | | |
| 120 | +| Swahili | `sw` | ✔️ | | |
| 121 | +| Swedish | `sv` | ✔️ | | |
| 122 | +| Tajik | `tg` | ✔️ | | |
| 123 | +| Tamil | `ta` | ✔️ | | |
| 124 | +| Telugu | `te` | ✔️ | | |
| 125 | +| Thai | `th` | ✔️ | | |
| 126 | +| Turkish | `tr` | ✔️ | | |
| 127 | +| Ukrainian | `uk` | ✔️ | | |
| 128 | +| Unknown language | `und` | ✔️ | | |
| 129 | +| Urdu | `ur` | ✔️ | | |
| 130 | +| Uzbek | `uz` | ✔️ | | |
| 131 | +| Vietnamese | `vi` | ✔️ | | |
| 132 | +| Welsh | `cy` | ✔️ | | |
| 133 | +| Western Frisian | `fy` | ✔️ | | |
| 134 | +| Xhosa | `xh` | ✔️ | | |
| 135 | +| Yiddish | `yi` | ✔️ | | |
| 136 | +| Yoruba | `yo` | ✔️ | | |
| 137 | +| Zulu | `zu` | ✔️ | | |
0 commit comments