Skip to main content

interface_language

Function interface_language 

pub fn interface_language(context: &Map<String, Value>) -> Option<&str>
Expand description

The interface language a run’s context names (LOCALE_CONTEXT_KEY), when it is one to print: a string of at most MAX_INTERFACE_LANGUAGE_BYTES bytes of ASCII letters, digits or - (the characters of a BCP 47 langtag). A value that is anything else is ignored and nothing is sent, so nothing a tool wrote can become a line of the prompt.