      GET /1.0/something/ HTTP/1.1
      Host: example.com
      Accept: application/json
      """
      invalid_version_message = _('Invalid version in URL path.')
  
      def determine_version(self, request, *args, **kwargs):
          resolver_match = getattr(request, 'resolver_match', None)
          if (resolver_match is None or not resolver_match.namespace):
              return self.default_version
 
</s> remove     invalid_version_message = _('Invalid version in URL path.')
 </s> add     invalid_version_message = _("Invalid version in URL path.") </s> remove     invalid_version_message = _('Invalid version in hostname.')
 </s> add     invalid_version_message = _("Invalid version in hostname.") </s> remove             raise exceptions.AuthenticationFailed('Invalid username/password')
 </s> add             raise exceptions.AuthenticationFailed(_("Invalid username/password.")) </s> remove         'required': _('This field is required.'),
        'no_match': _('Invalid hyperlink - No URL match'),
        'incorrect_match': _('Invalid hyperlink - Incorrect URL match.'),
        'does_not_exist': _('Invalid hyperlink - Object does not exist.'),
        'incorrect_type': _('Incorrect type. Expected URL string, received {data_type}.'),
 </s> add         'required': _("This field is required."),
        'no_match': _("Invalid hyperlink - No URL match."),
        'incorrect_match': _("Invalid hyperlink - Incorrect URL match."),
        'does_not_exist': _("Invalid hyperlink - Object does not exist."),
        'incorrect_type': _("Incorrect type. Expected URL string, received {data_type}."), </s> remove         'invalid': _('Invalid value.'),
 </s> add         'invalid': _("Invalid value."),
    invalid_version_message = _("Invalid version in URL path.")
      GET /1.0/something/ HTTP/1.1
      Host: example.com
      Accept: application/json
      """
    invalid_version_message = _("Invalid version in URL path.")
  
      def determine_version(self, request, *args, **kwargs):
          resolver_match = getattr(request, 'resolver_match', None)
          if (resolver_match is None or not resolver_match.namespace):
              return self.default_version
keep keep keep keep replace keep keep keep keep keep
 use double quotes for user visible strings; end user visible strings in full stops; add some missing translation tags 
rest_framework/versioning.py