localize directive template