---
title: "Get language settings"
description: "The shop's languages: default_locale (the language alerts and the signup widget use), app_locale (the dashboard language), whether multi-language support and translated product titles are on, and, when multi-language is "
url: https://docs.stoqapp.com/v2-reference/account-languages/get-language-settings/
api: "API v2 reference"
method: GET
path: "/account/languages"
---

# Get language settings

`GET https://app.stoqapp.com/api/v2/external/account/languages`

The shop's languages: default_locale (the language alerts and the signup widget use), app_locale (the dashboard language), whether multi-language support and translated product titles are on, and, when multi-language is on, the locales published in Shopify.

**Note:** `published_locales` is only in the response when `multi_language_enabled` is true; it is then read live from Shopify and left out if Shopify can't be reached. Change `app_locale`, `multi_language_enabled` and `product_translations_enabled` with [`PATCH /account/languages`](https://docs.stoqapp.com/v2-reference/account-languages/update-language-settings/). `default_locale` is changed only by [`POST /account/languages/reset_locale`](https://docs.stoqapp.com/v2-reference/account-languages/reset-a-language-to-defaults/), which also resets that language's alert copy.

## Returns

- `default_locale` (string): e.g. `string`
- `app_locale` (string): e.g. `string`
- `multi_language_enabled` (boolean): e.g. `true`
- `product_translations_enabled` (boolean): e.g. `true`

Rate limit: this call costs 1 point ([rate limits](https://docs.stoqapp.com/docs/rate-limits/)).

## Example request

```sh
curl "https://app.stoqapp.com/api/v2/external/account/languages" \
  -H "X-Auth-Token: $STOQ_API_KEY"
```

## 200

Success: the requested resource.

```json
{
  "default_locale": "string",
  "app_locale": "string",
  "multi_language_enabled": true,
  "product_translations_enabled": true
}
```

## 401

Missing or invalid `X-Auth-Token`.

```json
{
  "errors": [
    "Invalid API key"
  ],
  "code": "auth_invalid",
  "details": [
    {
      "code": "auth_invalid",
      "message": "Invalid API key",
      "path": null,
      "value": null,
      "expected": null
    }
  ]
}
```

## 422

The request failed validation.

```json
{
  "errors": [
    "name is required"
  ],
  "code": "validation_failed",
  "details": [
    {
      "code": "validation_failed",
      "message": "name is required",
      "path": null,
      "value": null,
      "expected": null
    }
  ]
}
```

## 429

Rate limited: cost-weighted per token (read 1, write 2; 360 points / 60s). Check `Retry-After`.

```json
{
  "errors": [
    "Rate limit exceeded"
  ],
  "code": "rate_limited",
  "details": [
    {
      "code": "rate_limited",
      "message": "Rate limit exceeded",
      "path": null,
      "value": null,
      "expected": null
    }
  ]
}
```

