Thirty-eight deputies and detention officers received training to identify illegal immigrants charged with crimes and begin deportation proceedings.