---
title: "List a Preference's Localizations"
method: GET
path: "/preferences/{preferenceId}/i18n"
tags: ["Preferences"]
---

# List a Preference's Localizations

`GET /preferences/{preferenceId}/i18n`

## Request

- Base URL: `https://api.smartthings.com/v1`
- URL: `https://api.smartthings.com/v1/preferences/{preferenceId}/i18n`
- Auth: OAuth 2
  - Implicit: `https://auth-global.api.smartthings.com`
- TypeScript: <https://skmtc.dev/smartthings/apis/smartthings-api/docs/preferences/:preferenceId/i18n/get.ts> (a function with typed inputs; its response is checked against the schema)

List all languages (i.e. locales) for which a Preference has translated values.
The `locale` is the abbreviated internationalization code associated with the language.

## Path parameters

- `preferenceId` string, required

## Headers

- `Authorization` string, string, required

## Response `200`

Successful retrieval of a Preference's localization locales

- PreferenceLocaleLocalizations: The list of supported locales.
  - `items` LocaleReference[]
    - `tag` string: The tag of the locale as defined in [RFC bcp47](http://www.rfc-editor.org/rfc/bcp/bcp47.txt).

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too many requests
- `default`: Unexpected error

## Changes

- **2023-11-27** `e8dd260a33ec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/smartthings/apis/smartthings-api/changes/preferences/:preferenceId/i18n/get.md)

---

[API](https://skmtc.dev/smartthings/apis/smartthings-api.md) - [All operations](https://skmtc.dev/smartthings/apis/smartthings-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartthings/apis/smartthings-api/revisions/2788a4236800?raw)
