Allowing translate with only one argument

Fixed #178