pub fn find_for_language<'a>(
layouts: &'a [EmailLayout],
language: Option<&str>,
) -> Option<&'a EmailLayout>Expand description
The shell for an email in language (a BCP 47 tag such as “fi” or “fi-FI”): the exact match,
else the match on its primary subtag, else the language-less shell. Case-insensitive. None
means the bundled default applies.