Add preferred translator function and example