Glossary Export
(/v1/glossary/download)

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

The glossary export API allows you to export your Smartling glossary to a file.

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 can be found in the Dashboard.

Note: Smartling's CSV file format is very close to Google's custom glossary format and contains the following columns:

term, part_of_speech, description, do_not_translate

plus two columsn for each locale - the first for the translation and the second for comments:

ru-RU, ru-RU-comment


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.

exportType (optional)

The export file type: CSV (default) OR TBX

locales (optional)

The smartling identifier for each glossary locale (eg. es-ES).

This parameter can be set multiple times to download multiple locales. For example:

locales={desired-locale1}&locales={desired-locale2}

If the locales parameter is not set, Smartling exports translations for all locales assigned to a project.

A complete list of locale identifiers for your project can be found in the dashboard at SETTINGS > API

Returns

A glossary file with the following response header:

Content-Disposition: attachment; filename="glossaryname.ext"

Character encoding is UTF-8

Examples