API: Get Translation Data

Retrieve translation data for a project

The 'type' parameter can be used to select between XLIFF 1.2 ('xliff') or CSV ('csv').

The 'include_translations_since' parameter is optional and is used to limit the response to contain only edits since the last import/export. The values for this are 'last-import' and 'last-export' respectively.

Before using this call, you'll need to authenticate against the API as detailed in Making your first call to the Project API.

All of these examples have simulation mode turned on. Once you are ready to use in a production environment, you can remove the simulation parameter. Any changes will then affect your account.








$$nonce = get_nonce('https://api.elucidat.com/v2/projects/translations', 'PUBLIC_KEY', 'PRIVATE_KEY');
$headers = auth_headers('PUBLIC_KEY', $nonce);
$fields = array(
    'project_code' => $arg1,
    'type' => $arg2,
    'include_translations_since' => $arg3,
    'simulation_mode' => 'simulation'
$result = call_elucidat($headers, $fields, 'GET', 'https://api.elucidat.com/v2/projects/translations', 'PRIVATE_KEY');
echo ("HTTP status code: " . $result['status'] . "\n");



nonce = client.get_nonce;
headers = client.auth_headers(nonce)
fields = {
	'project_code' => arg1,
	'type' => arg2,
	'include_translations_since' => arg3,
	'simulation_mode' => 'simulation'}
pp client.call_elucidat(headers, fields, 'GET', '/v2/projects/translations')

Python 2

nonce = get_nonce(
headers = auth_headers("PUBLIC_KEY", nonce)
fields = [
    ("project_code", arg1),
    ("type", arg2),
    ("include_translations_since", arg3),
    ("simulation_mode", "simulation"),
print call_elucidat(

Response (abridged)

 "translations": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xliff version=\"1.2\">\n <file source-language=\"en-GB\" target-language=\"en-GB\" tool=\"Elucidat\" datatype=\"html\" original=\"https://app.elucidat.com/projects/edit/6033d7b58ca1f\">\n <header>\n <skl>\n <external-file uid=\"6033d6750c4ec-6033d7b58ca1f\" href=\"https://app.elucidat.com/projects/edit/6033d7b58ca1f\"/>\n </skl>\n <phase-group>\n <phase phase-name=\"extract\" process-name=\"extraction\" tool=\"Elucidat\" date=\"2021-11-29T09:27:30Z\" company-name=\"Omissis\" contact-name=\"Omissis Omissis\" contact-email=\"nick.cooke@elucidat.com\"/>\n </phase-group>\n </header>\n <body>\n <group id=\"theme_translations\">\n <trans-unit id=\"resource-item-download-title\">\n <source xml:lang=\"en-GB\"><![CDATA[Select this link to download]]></source>\n </trans-unit>\n <trans-unit id=\"sample-text\">\n <source xml:lang=\"en-GB\"><![CDATA[Sample text - This is an ideal place to enrich your learner's understanding of your topic. Enter as much or as little text here as you want.]]></source>\n <so
Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more
Request support
Access support that’s tailored to you by getting in touch with our Support Team.
Send us feedback
Do you have a new feature request, or want to tell us about something that works well (or not so well) for you? Get in touch!