By default, transcripts should be hidden on these types of pages:

What Did They Say?!?:', 'what-did-they-say') ?>

.transcript
.dialog
.name
.direction
.scene-heading
.scene-action

$content containing the filter output.', 'what-did-they-say') ?>

filter_shortcode_dialog($name, $direction, $speech, $content)
$content contains the HTML for dialog blocks.', 'what-did-they-say') ?>
filter_shortcode_scene_action($description, $content)
$content contains the HTML for scene action blocks.', 'what-did-they-say') ?>
filter_shortcode_scene_heading($description, $content)
$content contains the HTML for scene heading blocks.', 'what-did-they-say') ?>
the_media_transcript($transcript, $content)
$content contains the HTML for a single transcript.', 'what-did-they-say') ?>
the_language_name($language, $content)
$content contains the HTML for a language name.', 'what-did-they-say') ?>
the_matching_transcript_excerpts($transcripts, $search_string, $content)
$content contains the HTML for all the provided $transcripts that match $search_string.', 'what-did-they-say') ?>
the_transcript_format_string($content)
$content contains the sprintf() format string for how transcript headers will be spelled. The default is Transcript: %s.', 'what-did-they-say') ?>

function my_theme_the_language_name($language, $content) {
  return array($language, "<div class='language-name'>${content}</div>");
}

add_filter('the_language_name', 'my_theme_the_language_name', 15);