<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth-types](./auth-types.md) &gt; [Auth](./auth-types.auth.md) &gt; [useDeviceLanguage](./auth-types.auth.usedevicelanguage.md)

## Auth.useDeviceLanguage() method

Sets the current language to the default device/browser preference.

<b>Signature:</b>

```typescript
useDeviceLanguage(): void;
```
<b>Returns:</b>

void

