20. A non-transitory computer-readable medium storing computer-executable instructions that when executed by a computer cause the computer to perform a method, the method comprising: receiving a query to an XML document, determining if the query includes identifying elements that identify the query as being configured to act on a translation-enabled database and, if the query includes identifying elements, selecting an explicit query mode that controls an XPath logic to use a normalized translation function to process the query; determining whether a terminal node in an XPath associated with the query refers to a translatable element, and if the terminal node in the XPath associated with the query is determined to refer to a translatable element, selecting an implicit query mode for querying the XML document, wherein the query is rewritten for use by a translate function; and querying the XML document using the query and the selected query mode.
20. A non-transitory computer-readable medium storing computer-executable instructions that when executed by a computer cause the computer to perform a method, the method comprising: receiving a query to an XML document, determining if the query includes identifying elements that identify the query as being configured to act on a translation-enabled database and, if the query includes identifying elements, selecting an explicit query mode that controls an XPath logic to use a normalized translation function to process the query; determining whether a terminal node in an XPath associated with the query refers to a translatable element, and if the terminal node in the XPath associated with the query is determined to refer to a translatable element, selecting an implicit query mode for querying the XML document, wherein the query is rewritten for use by a translate function; and querying the XML document using the query and the selected query mode. 21. The non-transitory computer-readable medium of claim 20 , where the query elements include a first element that corresponds to a first text string in a first language.