Implement templates translation core functionality