Jeremy Newman : add translation methods to html class