40. Use Voice Key for language-specific recordings
Voice Audio is a direct asset reference. Voice Key is an optional lookup key for a translated voice mapping. A stable key such as archive.greeting is easier to maintain than a lookup that depends on the full wording of a sentence.
| Route | How the runtime finds a recording |
|---|---|
| Voice Audio selected | Uses that audio asset, with a language-specific asset replacement when one is mapped. |
| No direct asset; Voice Key supplied | Looks up the key in the voice translations for the selected voice language. |
| Neither supplied | Can look up the original source text in the voice mapping. Without a matching recording, text can still appear. |
Choose one clear route for each line. When an explicit Voice Audio asset is present, do not expect an unrelated Voice Key entry to override it. Use the asset’s language replacement, or remove the direct asset and use the key-based route.
Subtitle language and voice language can be separate runtime options. Test the combinations you intend to support: for example, Italian subtitles with the original English performance.
The lookup can fall back through language variants and the default language. A successful preview does not prove that the intended translated recording was found; listen to the actual result.
