Skip to main content

DEFAULT_LOCALE

Constant DEFAULT_LOCALE 

Source
pub const DEFAULT_LOCALE: &str = "en";
Expand description

Fallback locale when no header is sent, the header parses to nothing valid, or the project app didn’t mount the middleware. "en" matches the framework’s existing default strings (every label and button is currently English).