changed template extension, translate method