  # under `serializers`, in order to minimize potential confusion with Django's
  # built in `ValidationError`. For example:
  #
  # from rest_framework import serializers
  # raise serializers.ValidationError('Value was invalid')
  
  class ValidationError(APIException):
      status_code = status.HTTP_400_BAD_REQUEST
  
      def __init__(self, detail):
 
</s> remove         'invalid_choice': _('`{input}` is not a valid choice.')
 </s> add         'invalid_choice': _("`{input}` is not a valid choice.") </s> remove         'invalid_choice': _('`{input}` is not a valid choice.'),
        'not_a_list': _('Expected a list of items but got type `{input_type}`.')
 </s> add         'invalid_choice': _("`{input}` is not a valid choice."),
        'not_a_list': _("Expected a list of items but got type `{input_type}`.") </s> remove     default_detail = _('Request was throttled.')
    extra_detail_singular = 'Expected available in {wait} second.'
    extra_detail_plural = 'Expected available in {wait} seconds.'
 </s> add     default_detail = _("Request was throttled.")
    extra_detail_singular = "Expected available in {wait} second."
    extra_detail_plural = "Expected available in {wait} seconds." </s> remove         'max_length': _('Ensure this field has no more than {max_length} characters.'),
 </s> add         'max_length': _("Ensure this field has no more than {max_length} characters."),
# raise serializers.ValidationError("Value was invalid")
  # under `serializers`, in order to minimize potential confusion with Django's
  # built in `ValidationError`. For example:
  #
  # from rest_framework import serializers
# raise serializers.ValidationError("Value was invalid")
  
  class ValidationError(APIException):
      status_code = status.HTTP_400_BAD_REQUEST
  
      def __init__(self, detail):
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/exceptions.py