In YouTubeVision AI, languages are configuration that you edit on the Languages page. Nothing in the pipeline is hard-coded to a particular language, which is what lets one installation produce English explainers, Hindi stories and Hinglish shorts side by side.
What a language record contains
Each language has a few identity fields and a set of preferences that end up in prompts and voice requests:
- Code: two or three lower-case letters (ISO 639), for example
hi. - Locale: a BCP-47 tag that starts with the code, such as
hi-IN,hi-Latn-INores-419. - Script: an ISO 15924 code such as
Latn,DevaorArab. Arabic script must be right-to-left. - Formality, tone, vocabulary and transliteration preferences, plus a free-text prompt instruction. These are combined into the
language_instructionsprompt variable. - Translation style and localization notes, for example "idiomatic, not word for word" or how to handle currencies and units.
- Subtitle layout: format, maximum characters per line (10 to 80) and lines per cue (1 to 3).
- Font file for thumbnail text and burned-in subtitles, such as
Nirmala.ttcfor Devanagari.
The installation is seeded with English (US and UK), Hindi, Spanish (Spain and Latin America), French, German, Arabic and Hinglish. English (US) is the default language; the default must stay enabled and cannot be deleted.
Content styles: Hinglish as an example
A content style is a language variant with its own writing rules. Hinglish is seeded as hi-Latn-IN: a content style of Hindi, written in Latin letters, that mixes everyday English words the way many urban speakers do.
To make your own style:
- Create a language and tick is content style.
- Choose its base language. A content style must name one.
- Set the script to the writing system the output should use.
- Write precise vocabulary and transliteration preferences. Hinglish, for instance, asks for romanised Hindi such as
aap kaise hainand no Devanagari.
The rules are enforced, not just suggested. Prompts tell the model to follow them exactly, and the script validator checks that the narration is actually written in the configured script: at least 60 % of the letters must match it, or the script fails validation.
Provider capabilities
Not every provider handles every language. The capability matrix records, per provider and language, whether Script, Voice, Subtitle, Metadata, VideoPrompt and ThumbnailText are supported.
- An explicit "not supported" row makes configuration resolution fail, unless you have configured a fallback language.
- A missing row is only a warning, with one exception: voice needs a supported row, either listing the voice id or with an empty list meaning "any voice".
Rows come from seeding, from voice discovery on the Providers page (which never overwrites rows you entered by hand) or from manual entry.
Voices and where they come from
Voice settings are inherited like every other setting. The language supplies the first defaults: default voice provider, default voice id and speaking rate (0.25 to 4). A niche, a niche-language setting, a channel or a campaign can override them. A channel that always uses one narrator, for example, can set its own VoiceId while the language keeps its default for everyone else.
You can also set a fallback voice provider and fallback voice. The voiceover stage switches to them when the configured voice reports that it does not support the request.
Mixing languages in one niche
A niche can produce several languages. On the niche editor's languages tab, enable each one and optionally give it an allocation percent. The scheduler then assigns each job a language slot so the daily mix follows those percentages. Per-language tone and prompt instruction overrides let the Hindi version of a niche sound different from the English one.
One rule to remember: a niche cannot both allocate languages by percentage and pin a single script language. The editor rejects that combination when you save.
Check before you produce
Before a language goes into production, open it and run Validate. This calls
POST /api/v1/languages/{id}/validateand reports, for every enabled provider, whether each capability is supported, unsupported or unverified, followed by a line for each active niche using the language that shows whether its configuration resolves. Because the check uses the same resolver as the scheduler, a language that passes here is one the pipeline will accept.
For a whole niche, the effective configuration view shows every resolved value and which level it came from, including the voice. More setup tips are in Getting started and the FAQ.