new translation support for templates