Locale is used for:
- Identifying precisely what is to be spoken to the caller: the words, accent,
and phrasing used (by using the variant component of the locale identifier,
you can also specify any other characteristics you want). In other words,
locale is used to identify the voice segments to be used.
- Determining the technology to be used for text-to-speech and speech recognition.
- Optionally, altering the logic of your application.
In VoiceXML, the locale also determines the language of the built-in grammars,
error prompts, and other language-specific features used by the browser to
handle an incoming call.