code: def get_subtitle_path(video_path, language=None, extension='.srt'):
      
      subtitle_root = os.path.splitext(video_path)[0]
  
      if language:
          subtitle_root += '.' + str(language)
  
      return subtitle_root + extension
docs: Get the subtitle path using the `video_path` and `language`.
  
      :param str video_path: path to the video.
      :param language: language of the subtitle to put in the path.
      :type language: :class:`~babelfish.language.Language`
      :param str extension: extension of the subtitle.
      :return: path of the subtitle.
      :rtype: str