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:
The API Key for your account. Available in the Smartling dashboard at Project Settings>API.
The unique ID for your project. Available in the Smartling dashboard at Project Settings>API.
The export file type: CSV (default) OR TBX
The smartling identifier for each glossary locale (eg. es-ES).
This parameter can be set multiple times to download multiple locales. For example:
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
A glossary file with the following response header:
Content-Disposition: attachment; filename="glossaryname.ext"
Character encoding is UTF-8