<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [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

