code: def _get_populate_from_value(instance, field_name: Union[str, Tuple[str]], language: str):
          
  
          if callable(field_name):
              return field_name(instance)
  
          def get_field_value(name):
              value = resolve_object_property(instance, name)
              with translation.override(language):
                  return str(value)
  
          if isinstance(field_name, tuple) or isinstance(field_name, list):
              value = '-'.join([
                  value
                  for value in [get_field_value(name) for name in field_name]
                  if value
              ])
              return value
  
          return get_field_value(field_name)
docs: Gets the value to create a slug from in the specified language.
  
          Arguments:
              instance:
                  The model that the field resides on.
  
              field_name:
                  The name of the field to generate a slug for.
  
              language:
                  The language to generate the slug for.
  
          Returns:
              The text to generate a slug for.