Skip to main content

current

Function current 

Source
pub fn current() -> &'static Localizer
Expand description

Returns the process-local localizer, initialized from the environment on first use.

Locale environment changes after the first call do not affect this value; use localizer_from when a caller needs an explicitly selected locale, such as a test.