Trac does not emit much HTML code. I think the main piece of hard-coded HTML is in the 'About' section. Nevertheless, Trac does emit some text from the Python code rather than from the ClearSilver templates, which makes it quite difficult to internationalize for now.