21. An apparatus that recognizes voice input, comprising: a receiving mechanism configured to receive a document that includes a specification of a datatype for which there exists a predefined grammar, wherein the document that includes the specification of the datatype is a Multi-channel extensible Markup Language (MXML) document; a generation mechanism configured to generate a Voice eXtensible Markup Language (VoiceXML) document from the MXML document; wherein the receiving mechanism is additionally configured to obtain a locale attribute for the datatype, wherein the locale attribute identifies a version of a language that is spoken in a locale; a lookup mechanism configured to use the locale attribute to lookup a locale-specific grammar for the datatype; and a communication mechanism configured to communicate the locale-specific grammar to a speech recognition engine, wherein the locale-specific grammar comprises a gateway-specific transformer that is produced by a gateway driver, wherein the gateway driver is incorporated into a transformation framework, thereby allowing the speech recognition engine to use the locale-specific grammar in recognizing a voice input for the datatype; wherein communicating the locale-specific grammar fully specifies the set of phrases that can be recognized for the datatype.
29. The apparatus of claim 21 , wherein the communication mechanism is configured to communicate the locale-specific grammar to the speech recognition engine by incorporating the grammar “in-line” into a VoiceXML document, and then communicating the VoiceXML document to the speech recognition engine.