# File lib/countries/country/class_methods.rb, line 108
    def parse_attributes(attribute, val)
      raise "Invalid attribute name '#{attribute}'" unless searchable_attribute?(attribute.to_sym)

      attributes = Array(attribute.to_s)
      if attributes == ['name']
        attributes << 'unofficial_names'
        # TODO: Revisit when better data from i18n_data
        # attributes << 'translated_names'
      end

      [attributes, parse_value(val)]
    end