Home > @firebase/auth > useDeviceLanguage
useDeviceLanguage() function
Sets the current language to the default device/browser preference.
Signature:
export declare function useDeviceLanguage(auth: Auth): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| auth | Auth | The Auth instanec. |
Returns:
void