Add localized template functionality