Table of Contents

TLocaleMiddleware.DefaultLocale Property

The default locale to use when no Accept-Language header is present or no matching locale is found.

Remarks

This value is used as a fallback when the client does not specify a preferred language or when none of the client's preferred languages are accepted.

Syntax

Unit: Sparkle.Middleware.Locale

property TLocaleMiddleware.DefaultLocale: string

See also