1. A method for recognizing voice input, comprising: receiving 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; generating a Voice eXtensible Markup Language (VoiceXML) document from the MXML document; obtaining a locale attribute for the datatype, wherein the locale attribute identifies a version of a language that is spoken in a locale; using the locale attribute to lookup a locale-specific grammar for the datatype; and communicating 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.