Home/
Part XIII — Expert Mode: Systems, Agents, and Automation/40. Advanced Structured Output/40.4 Internationalization schemas (multi-locale outputs)
40.4 Internationalization schemas (multi-locale outputs)
Overview and links for this section of the guide.
On this page
Multi-Lingual Output
Instead of making 5 calls for 5 languages, ask for all of them at once if the content is short.
The Format
{
"key": "welcome_message",
"translations": {
"en": "Welcome",
"es": "Bienvenido",
"fr": "Bienvenue"
}
}
This ensures consistency. The model sees the English version and translates it in parallel, maintaining the tone across locales.