Making the segment template gettexted