1. A computer-implemented method, comprising: accessing a translation-capable XML document, where the translation-capable XML document stores translatable data; establishing a session language identifier; and providing a virtual view of the translation-capable XML document, where the virtual view is determined, at least in part, by the session language identifier, and where the virtual view presents one or more of, the translatable data, and a translation for the translatable data, and where the providing includes controlling database query rewrite logic to rewrite a non-translation-capable query expression to produce a translation-capable query expression and providing the translation-capable query expression to an XML database logic, where the non-translation-capable query expression is part of a query to retrieve information from the translation-capable XML document; wherein producing the translation-capable query expression includes receiving a non-translation-capable query that includes the non-translation-capable query expression and rewriting the non-translation-capable query expression to be translation-capable by adding at least a predicate to the non-translation-capable query where the predicate includes attributes for translating portions of the translation-capable query expression or portions of the translation-capable XML document.