template translation support