Übersetzungsspeicher herunterladen

Download Crowdin project Translation Memory as TMX, CSV, or XLSX file.

Anfrage

Note: Use the combination of project identifier, username, and account key to pass to this endpoint.

GET https://api.crowdin.com/api/project/{project-identifier}/download-tm?login={username}&account-key={account-key}

Parameter

Name Wert Beschreibung
include_assigned optional Bool Defines whether the assigned TMs should be included in downloaded TMX file. Acceptable values are: 0, 1.
Default is 1.
source_language optional String Defines a source language for language pair. Сrowdin language code should be used.
target_language optional String Defines a target language for language pair. Сrowdin language code should be used.
Variablen
project-identifier String Projekt-ID.
login String Ihr Nutzername auf Crowdin.
account-key String Ihr Konto API-Schlüssel.

Beispiele

wget -O project.tmx "https://api.crowdin.com/api/project/{project-identifier}/download-tm?login={username}&account-key={account-key}"
<?php
ini_set('auto_detect_line_endings', 1); // allows file support for macintosh
ini_set('default_socket_timeout', 5); // socket timeout, just in case

file_put_contents('project.tmx', file_get_contents('https://api.crowdin.com/api/project/{project-identifier}/download-tm?login={username}&account-key={account-key}'));

War dieser Artikel hilfreich?