localize shared templates