Added localization to error messages and query for average transit time.