Fixed up translate plugin