voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (14 loc) • 566 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/auth](./auth.md) > [useDeviceLanguage](./auth.usedevicelanguage.md)
## useDeviceLanguage() function
Sets the current language to the default device/browser preference.
<b>Signature:</b>
```typescript
export declare function useDeviceLanguage(auth: Auth): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| auth | [Auth](./auth.auth.md) | The Auth instanec. |
<b>Returns:</b>
void