Overview
TheSUPPORTED_LANGUAGES dictionary contains all language codes supported by the ChatterboxMultilingualTTS model. Use these language codes with the language_id parameter when generating speech.
Language Codes
ChatterboxMultilingualTTS supports 23 languages:| Language Code | Language Name |
|---|---|
ar | Arabic |
da | Danish |
de | German |
el | Greek |
en | English |
es | Spanish |
fi | Finnish |
fr | French |
he | Hebrew |
hi | Hindi |
it | Italian |
ja | Japanese |
ko | Korean |
ms | Malay |
nl | Dutch |
no | Norwegian |
pl | Polish |
pt | Portuguese |
ru | Russian |
sv | Swedish |
sw | Swahili |
tr | Turkish |
zh | Chinese |
Usage
Import and use theSUPPORTED_LANGUAGES dictionary in your code:
Using Language Codes
Pass the language code to thelanguage_id parameter when generating speech:
Cross-Lingual Voice Cloning
You can clone a voice from one language and use it to synthesize speech in any other supported language:Validation
The model automatically validates language codes. If you provide an invalid language code, it will raise aValueError:
Notes
- Language codes are case-insensitive (“EN” and “en” both work)
- The model performs automatic text normalization for each language, including language-specific punctuation
- Cross-lingual voice cloning works best when the reference audio is clear and at least 5-10 seconds long
- Some languages may require specific fonts or Unicode support for proper text display