+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "setLocale"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## setLocale variable

### setLocale variable

<b>Signature</b>

```typescript
setLocale: (language: string) => void
```
<b>Import</b>

```typescript
import { setLocale } from '@grafana/data';
```
