polite-oil-10264
08/01/2025, 8:54 AMtall-airline-16756
08/01/2025, 8:54 AMtall-airline-16756
08/01/2025, 8:54 AMpolite-oil-10264
08/01/2025, 8:56 AMtall-airline-16756
08/01/2025, 8:56 AMtranslation_target_languages parameter is set just right. For example, if you want to translate from Arabic and English to Arabic, your code should look like this:
gladia.STT(
translation_enabled=True,
languages=["ar", "en"],
translation_target_languages=["ar"]
)
• Language Codes: Double-check that your language codes (like "ar" for Arabic and "en" for English) are valid BCP-47 codes.
• API Key: Make sure your API key is correct and properly set up in your environment or code.
If you’re still running into trouble, feel free to share any extra error messages or logs you have, and I’ll be happy to help you sort it out!thousands-soccer-98172
08/01/2025, 9:22 AMtall-airline-16756
08/01/2025, 9:22 AM