TSparkleLocaleMiddleware.OnGetDefaultLocale Event
Event fired to dynamically determine the default locale.
Remarks
This event is fired when no matching locale is found from the Accept-Language header. The event handler receives the current DefaultLocale value and can modify it based on runtime conditions.
Syntax
Unit: Sparkle.Comp.LocaleMiddleware
property TSparkleLocaleMiddleware.OnGetDefaultLocale: TLocaleGetDefaultEvent