Template translation