TGetDefaultLocaleProc Anonymous method
Callback procedure type used to dynamically provide a default locale.
Remarks
Locale: The locale string to use as default. Initially contains the value of DefaultLocale property. You can modify this parameter to provide a different default locale based on runtime conditions, such as user preferences, geolocation, or other factors.
Syntax
Unit: Sparkle.Middleware.Locale
TGetDefaultLocaleProc = reference to procedure(var Locale: string);