The court, judge or magistrate or other person in authority may appoint and swear or cause to be sworn an interpreter whenever necessary to interpret the evidence of a witness, or any statement or document requiring interpretation.