adding ability to hook in a translation function, fixing all testes.