14. A non-transitory computer-readable medium having a plurality of computer-executable instructions stored thereon, the non-transitory computer-readable medium comprising: instructions for receiving a request from an interface associated with a client device for a web page created in a specific language, the web page comprising content in the specific language, one or more elements in a first markup language used by an interface of the client device to display the content, and one or more one or elements in a second markup language, the second markup language being an intermediate non-scripting language different from the first language; instructions for extracting a locale-specific preference from a header in the request, the locale-specific preference in the header further including one or more entries that each indicate a preference level for document languages; instructions for selecting a locale-specific module corresponding to the locale-specific module corresponding to the locale-specific preference, the selected locale-specific module built in a language supported by a script associated with the requested web page using one or more user-supplied definitions associating an element of the webpage in the second markup language with one or more locale-specific formattings; instructions for sending the locale-specific module to the client device for storage at the client device; and instructions for sending the requested web page to the client device for storage at the client device, wherein, when the client device encounters the element of the web page in the second markup language when executing the script, the client device uses the locale specific module to determine the one or more locale-specific formattings.
15. The non-transitory computer-readable medium of claim 14 , wherein the instructions for receiving the request comprises instructions for receiving an HTTP request that includes the locale-specific preference.