Skip to main content

template_language

Function template_language 

Source
pub(crate) fn template_language(course_language_code: &str) -> String
Expand description

Templates are stored per language and courses carry a locale. The course’s language, not the recipient’s: the linking mail’s recipient may have no account here, and an account records no UI language to prefer.