Skip to main content
Version: 3.4.0

Language Groups

Below, you can find predefined language groups. By clustering similar language varieties (dialects) related to a single language or macro-language, such as Arabic, Chinese, and others, these groups provide clearer language identification results.

[
{
"identifier": "arabic",
"language_codes": [
"ar-EG", "ar-KW", "ar-IQ", "ar-XL", "ar-MA", "ar-OM", "ar-SA", "ar-TN", "ar-YE", "arb"
]
},
{
"identifier": "english",
"language_codes": [
"en-AU", "en-US", "en-GB", "en-IN"
]
},
{
"identifier": "spanish",
"language_codes": [
"es-XA", "es-ES"
]
},
{
"identifier": "chinese",
"language_codes": [
"zh-HK", "zh-CN", "min-CN", "wuu-CN"
]
}
]
note

To use the desired groups in the Language Identification microservice, copy them into the client request.