List Project Locales
(/v1/project/locale/list)

This v1 API method is scheduled for deprecation March 1, 2017. Where possible, use File API v2

The Projects API allows you to access data such as language and locale codes that you can use in your own user profiles or dashboards.

All URLs have the following base: https://api.smartling.com/v1, and all of the following calls require both the apiKey and projectId parameter which you can find within your Smartling project's dashboard: https://dashboard.smartling.com/settings/api


Parameters

apiKey (required)

The API Key for your account. Available in the Smartling dashboard at Project Settings>API.

projectId (required)

The unique ID for your project. Available in the Smartling dashboard at Project Settings>API.

(none)

No parameters required, but the request must be a signed API request

Returns
{
  "locales": [
    {
      "name": "Spanish",
      "locale": "es",
      "translated": "Español"
    },
    {
      "name": "French",
      "locale": "fr-FR",
      "translated": "Français"
    }
  ]
}

locale

locale identifier

name

Source locale name

translated

Localized locale name

Examples