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