The Mindy Project alum will play the male lead in the romantic comedy pilot based on a Spanish format.