/
v3.0.11Get access

Supported Languages

Union

Language codes accepted by the language field of every Content method. The SDK maps each code to the two-letter code the CMS expects (eng → en, rus → ru, arm → am) and puts that code in the request path, so the mapped CMS codes work as well.

Possible values

Every literal this type accepts.

ValueDescription
'ja'Japanese (ISO 639-1 code)
'ko'Korean (ISO 639-1 code)
'alb'Albanian
'arb'Arabic
'arm'Armenian
'aus'English (Australia market variant)
'aze'Azerbaijani
'ben'Bengali
'bgr'Bulgarian
'blr'Belarusian
'bos'Bosnian
'chi'Chinese
'cze'Czech
'dan'Danish
'dut'Dutch (alternate code)
'eng'English
'est'Estonian
'far'Farsi (Persian)
'fas'Persian
'fin'Finnish
'fra'French
'fre'French (alternate code)
'geo'Georgian
'ger'German
'gre'Greek
'guj'Gujarati
'hat'Haitian Creole
'heb'Hebrew
'hin'Hindi
'hrv'Croatian
'hun'Hungarian
'ind'Indonesian
'ita'Italian
'jpn'Japanese
'kan'Kannada
'kaz'Kazakh
'kin'Kinyarwanda
'kir'Kyrgyz
'kmr'Kurmanji Kurdish
'kor'Korean
'kur'Kurdish
'lav'Latvian
'lin'Lingala
'lit'Lithuanian
'mac'Macedonian (alternate code)
'mar'Marathi
'mlg'Malagasy
'msa'Malay
'nld'Dutch
'nor'Norwegian
'pan'Punjabi
'pol'Polish
'por'Portuguese
'ron'Romanian
'rov'Romanian (variant)
'rum'Romanian (alternate code)
'rus'Russian
'sgp'English (Singapore market variant)
'slk'Slovak (alternate code)
'slv'Slovenian
'spa'Spanish
'sqi'Albanian (alternate code)
'srp'Serbian
'swa'Swahili
'swe'Swedish
'tam'Tamil
'tel'Telugu
'tgl'Tagalog
'tha'Thai
'tur'Turkish
'ukr'Ukrainian
'urd'Urdu
'uzb'Uzbek
'vie'Vietnamese
'vnm'Vietnamese (alternate code)
'wol'Wolof
'zhh'Chinese (Simplified)
'zho'Chinese (Mandarin)
'us'English (US)
'ar-iq'Arabic (Iraq)
'en-nz'English (New Zealand)
'por_2'Portuguese (secondary variant)
'pt-br'Portuguese (Brazil)

Notes

Codes are mapped before the request is sentEach code goes through the SDK’s CMS language mapping, so the request path carries the two-letter CMS code — /api/public/v2/en/partners/{partnerId} for eng. Passing the CMS code itself (en, ru, am) is accepted too.
Unrecognized codes are rejectedA code the CMS does not support — for example translit or es-cl, which the Swarm session accepts — fails request validation with an invalid language error instead of reaching the CMS.
Was this page helpful?