detectLocale
functionfunction detectLocale(): string;Detects the current locale from the system.
Uses Intl.DateTimeFormat to determine the user's locale.
Returns
stringfunction detectLocale(): string;Detects the current locale from the system.
Uses Intl.DateTimeFormat to determine the user's locale.
string