Returns the localizer for a request's resolved locale.
Resolves the service under CAPABILITIES.LOCALIZATION and binds it to
ctx.request.locale. A request with no locale (a path the middleware
excludes, or a reader running before priority 45) gets the default locale
rather than an error. A locale an application installed with
replaceLocale that is not itself supported is negotiated against the
supported set (de-AT → de), falling back to the default — a stored
preference never turns into a 500.
Returns the localizer for a request's resolved locale.
Resolves the service under
CAPABILITIES.LOCALIZATIONand binds it toctx.request.locale. A request with no locale (a path the middleware excludes, or a reader running before priority 45) gets the default locale rather than an error. A locale an application installed withreplaceLocalethat is not itself supported is negotiated against the supported set (de-AT→de), falling back to the default — a stored preference never turns into a500.