Transifex

App · 25 actions

Manage localization projects, upload source files and translations, and track translation progress in Transifex.

Actions

ActionWhat it does
Add project languagesAdd languages for a project to be translated into, and get its languages.
Add team memberAdd a Transifex user to a team as a translator, reviewer or coordinator for one language.
Create projectCreate a project in an organization.
Create resourceCreate an empty resource in a project.
Delete projectDelete a project with all its resources and translations.
Delete resourceDelete a resource with its strings and translations.
Download translation fileGet a resource's translation file in one language as text.
Get projectGet a project's details, such as its source language and settings.
Get resourceGet a resource's details, such as its file format and string and word counts.
List languagesList every language Transifex supports, with its ID (such as l:fr) and plural rules.
List organizationsList the Transifex organizations your account belongs to.
List project languagesList the languages a project is translated into.
List projectsList an organization's projects.
List resourcesList a project's resources: the files or sets of strings it translates.
List source stringsList a resource's source strings with their keys, text, tags and instructions.
List team membersList who is in an organization's teams, with each person's language and role.
List translation progressGet how much of each resource is translated and reviewed in each language of a project, in strings, words and percent.
List translationsList a resource's translations in one language, each with its source string's key and text.
Remove team memberRemove a person from a team for one language.
Update projectChange a project's name, description, settings or team.
Update resourceRename a resource, change its priority or categories, or lock it.
Update source stringChange a source string's tags, instructions for translators, character limit or text.
Update translationWrite a string's translation, or mark it reviewed or proofread.
Upload source fileUpload a resource's source file, adding and updating its strings, and get how many changed.
Upload translation fileUpload a resource's translations in one language from a file, and get how many were added or changed.

Add project languages

Add languages for a project to be translated into, and get its languages.

Inputs

Projectproject_idtextRequired
The project, such as o:acme:p:website.
Languageslanguage_idslistRequired
The languages to add.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "code": "example",
        "id": "example",
        "name": "example",
        "plural_equation": "example",
        "plural_rules": {},
        "rtl": true
      }
    ],
    "next_cursor": "example"
  }
}

Add team member

Add a Transifex user to a team as a translator, reviewer or coordinator for one language.

Inputs

TeamteamtextRequired
The team whose translators work on the project.
UsernameusernametextRequired
The person's Transifex username. They must already have a Transifex account.
Languagelanguage_idtextRequired
The language they work on.
Roleroletext
What they do in the team.One of: translator, reviewer, coordinator. Default: translator.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "id": "example",
    "language_id": "example",
    "role": "example",
    "team_id": "example",
    "user_id": "example"
  }
}

Create project

Create a project in an organization. Needs an organization administrator's token.

Inputs

Organizationorganization_idtextRequired
The Transifex organization.
NamenametextRequired
The project's name.
SlugslugtextRequired
The project's short name in its web address and ID: letters, numbers, - and _.
Source languagesource_language_idtextRequired
The language the project's content is written in.
Privateprivatetrue/false
Only you and the project's team can see a private project. On by default.Default: true.
Project typeproject_typetext
How content reaches Transifex: files you upload (the default), Transifex Live for a website, or Transifex Native for an app.One of: file (File-based), live (Transifex Live (website)), native (Transifex Native (app)).
Teamteamtext
The team whose translators work on the project.
Descriptiondescriptiontext
A short description, up to 255 characters.
Long descriptionlong_descriptiontext
A longer description, up to 1000 characters.
Licenselicensetext
The project's license. Open source licenses need a public project with a repository URL.One of: proprietary, open_source (Open source), permissive_open_source (Permissive open source), other_open_source (Other open source).
Home pagehomepage_urltext
The project's home page.
Repository URLrepository_urltext
The public source code repository. Needed for an open source project.
Translator instructions URLinstructions_urltext
A page with instructions or tips for the project's translators.
Tagstagslist
Tags for the project.
Machine translation fill-upmachine_translation_filluptrue/false
Fill in new strings with machine translation.
Translation memory fill-uptranslation_memory_filluptrue/false
Fill in new strings from the translation memory.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "archived": true,
    "datetime_created": "example",
    "datetime_modified": "example",
    "description": "example",
    "homepage_url": "example",
    "id": "example",
    "instructions_url": "example",
    "license": "example",
    "logo_url": "example",
    "long_description": "example",
    "machine_translation_fillup": true,
    "name": "example",
    "organization_id": "example",
    "private": true,
    "repository_url": "example",
    "slug": "example",
    "source_language_id": "example",
    "tags": [
      "example"
    ],
    "translation_memory_fillup": true,
    "type": "example"
  }
}

Create resource

Create an empty resource in a project. Upload its source file next to fill it.

Inputs

Projectproject_idtextRequired
The project, such as o:acme:p:website.
NamenametextRequired
The resource's name.
Slugslugtext
The resource's short name in its ID: letters, numbers, - and _. Leave empty to make one from the name.
File formatfile_formattextRequired
The format of the resource's files, such as KEYVALUEJSON for a JSON file of keys and text.
Priorityprioritytext
How urgently translators should work on it.One of: normal, high, urgent.
Categoriescategorieslist
Categories to group the resource by.
Accept translationsaccept_translationstrue/false
Whether translators can translate it. Turn off to lock it.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "accept_translations": true,
    "categories": [
      "example"
    ],
    "datetime_created": "example",
    "datetime_modified": "example",
    "i18n_format_id": "example",
    "i18n_options": {
      "allow_duplicate_strings": true
    },
    "i18n_version": 1,
    "id": "example",
    "mp4_url": "example",
    "name": "example",
    "ogg_url": "example",
    "priority": "example",
    "project_id": "example",
    "slug": "example",
    "string_count": 1,
    "webm_url": "example",
    "word_count": 1,
    "youtube_url": "example"
  }
}

Delete project

Delete a project with all its resources and translations. This can't be undone.

Inputs

Projectproject_idtextRequired
The project, such as o:acme:p:website.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {}
}

Delete resource

Delete a resource with its strings and translations. This can't be undone.

Inputs

Projectproject_idtext
The project the resource is in. Used only to list its resources to choose from.
Resourceresource_idtextRequired
The resource (a file or set of strings), such as o:acme:p:website:r:homepage.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {}
}

Download translation file

Get a resource's translation file in one language as text.

Inputs

Projectproject_idtext
The project the resource is in. Used only to list its resources to choose from.
Resourceresource_idtextRequired
The resource (a file or set of strings), such as o:acme:p:website:r:homepage.
Languagelanguage_idtextRequired
The translation language, one of the project's languages.
Contentsmodetext
Which translations the file holds. All translations by default.One of: default (All translations), reviewed (Reviewed, with source text for the rest), proofread (Proofread, with source text for the rest), translator (For offline translation), untranslated (Untranslated strings only), onlytranslated (Translated strings only), onlyreviewed (Reviewed strings only), onlyproofread (Proofread strings only), sourceastranslation (Source text as translation).
Formatfile_typetext
The file's format: the resource's own, XLIFF or JSON.One of: default (Original format), xliff, json.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "content": "example",
    "url": "example"
  }
}

Get project

Get a project's details, such as its source language and settings.

Inputs

Projectproject_idtextRequired
The project, such as o:acme:p:website.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "archived": true,
    "datetime_created": "example",
    "datetime_modified": "example",
    "description": "example",
    "homepage_url": "example",
    "id": "example",
    "instructions_url": "example",
    "license": "example",
    "logo_url": "example",
    "long_description": "example",
    "machine_translation_fillup": true,
    "name": "example",
    "organization_id": "example",
    "private": true,
    "repository_url": "example",
    "slug": "example",
    "source_language_id": "example",
    "tags": [
      "example"
    ],
    "translation_memory_fillup": true,
    "type": "example"
  }
}

Get resource

Get a resource's details, such as its file format and string and word counts.

Inputs

Projectproject_idtext
The project the resource is in. Used only to list its resources to choose from.
Resourceresource_idtextRequired
The resource (a file or set of strings), such as o:acme:p:website:r:homepage.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "accept_translations": true,
    "categories": [
      "example"
    ],
    "datetime_created": "example",
    "datetime_modified": "example",
    "i18n_format_id": "example",
    "i18n_options": {
      "allow_duplicate_strings": true
    },
    "i18n_version": 1,
    "id": "example",
    "mp4_url": "example",
    "name": "example",
    "ogg_url": "example",
    "priority": "example",
    "project_id": "example",
    "slug": "example",
    "string_count": 1,
    "webm_url": "example",
    "word_count": 1,
    "youtube_url": "example"
  }
}

List languages

List every language Transifex supports, with its ID (such as l:fr) and plural rules.

Inputs

Language codecodetext
Only the language with this code, such as fr or pt_BR.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "code": "example",
        "id": "example",
        "name": "example",
        "plural_equation": "example",
        "plural_rules": {},
        "rtl": true
      }
    ],
    "next_cursor": "example"
  }
}

List organizations

List the Transifex organizations your account belongs to.

Inputs

Next pagecursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "id": "example",
        "logo_url": "example",
        "name": "example",
        "private": true,
        "slug": "example"
      }
    ],
    "next_cursor": "example"
  }
}

List project languages

List the languages a project is translated into.

Inputs

Projectproject_idtextRequired
The project, such as o:acme:p:website.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "code": "example",
        "id": "example",
        "name": "example",
        "plural_equation": "example",
        "plural_rules": {},
        "rtl": true
      }
    ],
    "next_cursor": "example"
  }
}

List projects

List an organization's projects.

Inputs

Organizationorganization_idtextRequired
The Transifex organization.
Namenametext
Only the project with this exact name.
Slugslugtext
Only the project with this slug.
Next pagecursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "archived": true,
        "datetime_created": "example",
        "datetime_modified": "example",
        "description": "example",
        "homepage_url": "example",
        "id": "example",
        "instructions_url": "example",
        "license": "example",
        "logo_url": "example",
        "long_description": "example",
        "machine_translation_fillup": true,
        "name": "example",
        "organization_id": "example",
        "private": true,
        "repository_url": "example",
        "slug": "example",
        "source_language_id": "example",
        "tags": [
          "example"
        ],
        "translation_memory_fillup": true,
        "type": "example"
      }
    ],
    "next_cursor": "example"
  }
}

List resources

List a project's resources: the files or sets of strings it translates.

Inputs

Projectproject_idtextRequired
The project, such as o:acme:p:website.
Namenametext
Only the resource with this exact name.
Slugslugtext
Only the resource with this slug.
Next pagecursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "accept_translations": true,
        "categories": [
          "example"
        ],
        "datetime_created": "example",
        "datetime_modified": "example",
        "i18n_format_id": "example",
        "i18n_options": {
          "allow_duplicate_strings": true
        },
        "i18n_version": 1,
        "id": "example",
        "mp4_url": "example",
        "name": "example",
        "ogg_url": "example",
        "priority": "example",
        "project_id": "example",
        "slug": "example",
        "string_count": 1,
        "webm_url": "example",
        "word_count": 1,
        "youtube_url": "example"
      }
    ],
    "next_cursor": "example"
  }
}

List source strings

List a resource's source strings with their keys, text, tags and instructions.

Inputs

Projectproject_idtext
The project the resource is in. Used only to list its resources to choose from.
Resourceresource_idtextRequired
The resource (a file or set of strings), such as o:acme:p:website:r:homepage.
Keykeytext
Only the string with this key. Upper and lower case count.
Tagstagslist
Only strings with any of these tags.
Changed sincemodified_sincedate and time
Only strings whose text changed at or after this time.
Next pagecursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "appearance_order": 1,
        "character_limit": 1,
        "context": "example",
        "datetime_created": "example",
        "developer_comment": "example",
        "id": "example",
        "instructions": "example",
        "key": "example",
        "language_id": "example",
        "metadata_datetime_modified": "example",
        "occurrences": "example",
        "pluralized": true,
        "resource_id": "example",
        "string_hash": "example",
        "strings": {
          "few": "example",
          "many": "example",
          "one": "example",
          "other": "example",
          "two": "example",
          "zero": "example"
        },
        "strings_datetime_modified": "example",
        "tags": [
          "example"
        ]
      }
    ],
    "next_cursor": "example"
  }
}

List team members

List who is in an organization's teams, with each person's language and role.

Inputs

Organizationorganization_idtextRequired
The Transifex organization.
Teamteamtext
Only this team.
Languagelanguage_idtext
Only members for this language.
Roleroletext
Only members with this role.One of: translator, reviewer, coordinator.
Usernameusernametext
Only this person, by Transifex username.
Next pagecursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "id": "example",
        "language_id": "example",
        "role": "example",
        "team_id": "example",
        "user_id": "example"
      }
    ],
    "next_cursor": "example"
  }
}

List translation progress

Get how much of each resource is translated and reviewed in each language of a project, in strings, words and percent.

Inputs

Projectproject_idtextRequired
The project, such as o:acme:p:website.
Resourceresource_idtext
Only this resource.
Languagelanguage_idtext
Only this language.
Next pagecursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "id": "example",
        "language_id": "example",
        "last_proofread_update": "example",
        "last_review_update": "example",
        "last_translation_update": "example",
        "last_update": "example",
        "proofread_strings": 1,
        "proofread_words": 1,
        "resource_id": "example",
        "reviewed_percent": 1,
        "reviewed_strings": 1,
        "reviewed_words": 1,
        "total_strings": 1,
        "total_words": 1,
        "translated_percent": 1,
        "translated_strings": 1,
        "translated_words": 1,
        "untranslated_strings": 1,
        "untranslated_words": 1
      }
    ],
    "next_cursor": "example"
  }
}

List translations

List a resource's translations in one language, each with its source string's key and text.

Inputs

Projectproject_idtext
The project the resource is in. Used only to list its resources to choose from.
Resourceresource_idtextRequired
The resource (a file or set of strings), such as o:acme:p:website:r:homepage.
Languagelanguage_idtextRequired
The translation language, one of the project's languages.
Keykeytext
Only the translation of the string with this key.
Translatedtranslatedtrue/false
Only translated strings (on) or untranslated ones (off).
Reviewedreviewedtrue/false
Only reviewed translations (on) or unreviewed ones (off).
Translated sincetranslated_sincedate and time
Only translations made after this time.
Next pagecursortext
To read the next page, the next_cursor value a previous list step returned.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "datetime_created": "example",
        "datetime_proofread": "example",
        "datetime_reviewed": "example",
        "datetime_translated": "example",
        "finalized": true,
        "id": "example",
        "language_id": "example",
        "origin": "example",
        "proofread": true,
        "resource_id": "example",
        "resource_string": {
          "context": "example",
          "id": "example",
          "key": "example",
          "strings": {
            "few": "example",
            "many": "example",
            "one": "example",
            "other": "example",
            "two": "example",
            "zero": "example"
          },
          "tags": [
            "example"
          ]
        },
        "resource_string_id": "example",
        "reviewed": true,
        "strings": {
          "few": "example",
          "many": "example",
          "one": "example",
          "other": "example",
          "two": "example",
          "zero": "example"
        },
        "translator_id": "example"
      }
    ],
    "next_cursor": "example"
  }
}

Remove team member

Remove a person from a team for one language.

Inputs

Team membershipmembership_idtextRequired
The team membership, from List team members.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {}
}

Update project

Change a project's name, description, settings or team. Anything left empty stays as it is.

Inputs

Projectproject_idtextRequired
The project, such as o:acme:p:website.
Namenametext
A new name.
Privateprivatetrue/false
Make the project private or public.
Archivedarchivedtrue/false
Archive the project so no one can work on it, or bring it back.
Teamteamtext
The team whose translators work on the project.
Descriptiondescriptiontext
A short description, up to 255 characters.
Long descriptionlong_descriptiontext
A longer description, up to 1000 characters.
Licenselicensetext
The project's license. Open source licenses need a public project with a repository URL.One of: proprietary, open_source (Open source), permissive_open_source (Permissive open source), other_open_source (Other open source).
Home pagehomepage_urltext
The project's home page.
Repository URLrepository_urltext
The public source code repository. Needed for an open source project.
Translator instructions URLinstructions_urltext
A page with instructions or tips for the project's translators.
Tagstagslist
Tags for the project.
Machine translation fill-upmachine_translation_filluptrue/false
Fill in new strings with machine translation.
Translation memory fill-uptranslation_memory_filluptrue/false
Fill in new strings from the translation memory.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "archived": true,
    "datetime_created": "example",
    "datetime_modified": "example",
    "description": "example",
    "homepage_url": "example",
    "id": "example",
    "instructions_url": "example",
    "license": "example",
    "logo_url": "example",
    "long_description": "example",
    "machine_translation_fillup": true,
    "name": "example",
    "organization_id": "example",
    "private": true,
    "repository_url": "example",
    "slug": "example",
    "source_language_id": "example",
    "tags": [
      "example"
    ],
    "translation_memory_fillup": true,
    "type": "example"
  }
}

Update resource

Rename a resource, change its priority or categories, or lock it. Anything left empty stays as it is.

Inputs

Projectproject_idtext
The project the resource is in. Used only to list its resources to choose from.
Resourceresource_idtextRequired
The resource (a file or set of strings), such as o:acme:p:website:r:homepage.
Namenametext
A new name.
Priorityprioritytext
How urgently translators should work on it.One of: normal, high, urgent.
Categoriescategorieslist
Categories to group the resource by.
Accept translationsaccept_translationstrue/false
Whether translators can translate it. Turn off to lock it.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "accept_translations": true,
    "categories": [
      "example"
    ],
    "datetime_created": "example",
    "datetime_modified": "example",
    "i18n_format_id": "example",
    "i18n_options": {
      "allow_duplicate_strings": true
    },
    "i18n_version": 1,
    "id": "example",
    "mp4_url": "example",
    "name": "example",
    "ogg_url": "example",
    "priority": "example",
    "project_id": "example",
    "slug": "example",
    "string_count": 1,
    "webm_url": "example",
    "word_count": 1,
    "youtube_url": "example"
  }
}

Update source string

Change a source string's tags, instructions for translators, character limit or text. Anything left empty stays as it is.

Inputs

Projectproject_idtext
The project the resource is in. Used only to list its resources to choose from.
Resourceresource_idtext
The resource the string is in. Used only to list its strings to choose from.
Source stringstring_idtextRequired
The source string.
Tagstagslist
The string's tags. These replace its current tags.
Instructionsinstructionstext
Instructions for translators, up to 1000 characters.
Character limitcharacter_limitnumber
The most characters a translation may have.At least 1.
Texttexttext
New source text, for a string without plural forms. Its translations are kept only if Keep translations is on.
Keep translationskeep_translationstrue/false
When the text changes, keep the string's translations.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "appearance_order": 1,
    "character_limit": 1,
    "context": "example",
    "datetime_created": "example",
    "developer_comment": "example",
    "id": "example",
    "instructions": "example",
    "key": "example",
    "language_id": "example",
    "metadata_datetime_modified": "example",
    "occurrences": "example",
    "pluralized": true,
    "resource_id": "example",
    "string_hash": "example",
    "strings": {
      "few": "example",
      "many": "example",
      "one": "example",
      "other": "example",
      "two": "example",
      "zero": "example"
    },
    "strings_datetime_modified": "example",
    "tags": [
      "example"
    ]
  }
}

Update translation

Write a string's translation, or mark it reviewed or proofread. Anything left empty stays as it is.

Inputs

Translation IDtranslation_idtextRequired
The translation, from List translations, such as o:acme:p:web:r:home:s:3a9f...:l:fr.
Texttexttext
The translated text, for a string without plural forms. Writing it clears the review unless Reviewed is on.
Reviewedreviewedtrue/false
Mark the translation reviewed, or not.
Proofreadproofreadtrue/false
Mark the translation proofread, or not.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "datetime_created": "example",
    "datetime_proofread": "example",
    "datetime_reviewed": "example",
    "datetime_translated": "example",
    "finalized": true,
    "id": "example",
    "language_id": "example",
    "origin": "example",
    "proofread": true,
    "resource_id": "example",
    "resource_string_id": "example",
    "reviewed": true,
    "strings": {
      "few": "example",
      "many": "example",
      "one": "example",
      "other": "example",
      "two": "example",
      "zero": "example"
    },
    "translator_id": "example"
  }
}

Upload source file

Upload a resource's source file, adding and updating its strings, and get how many changed.

Inputs

Projectproject_idtext
The project the resource is in. Used only to list its resources to choose from.
Resourceresource_idtextRequired
The resource (a file or set of strings), such as o:acme:p:website:r:homepage.
File contentcontenttextRequired
The file's text, in the resource's file format, such as a JSON file's contents.
Replace edited stringsreplace_edited_stringstrue/false
Overwrite source strings someone has edited in Transifex with the file's text.
Keep translationskeep_translationstrue/false
Keep the translations of strings whose source text changes.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "date_created": "example",
    "date_modified": "example",
    "details": {
      "strings_created": 1,
      "strings_deleted": 1,
      "strings_skipped": 1,
      "strings_updated": 1
    },
    "errors": [
      {
        "code": "example",
        "detail": "example"
      }
    ],
    "id": "example",
    "resource_id": "example",
    "status": "example"
  }
}

Upload translation file

Upload a resource's translations in one language from a file, and get how many were added or changed.

Inputs

Projectproject_idtext
The project the resource is in. Used only to list its resources to choose from.
Resourceresource_idtextRequired
The resource (a file or set of strings), such as o:acme:p:website:r:homepage.
Languagelanguage_idtextRequired
The translation language, one of the project's languages.
File contentcontenttextRequired
The file's text, in the resource's file format, such as a JSON file's contents.

Outputs

dataobject
The response from Transifex.
Example output
{
  "data": {
    "date_created": "example",
    "date_modified": "example",
    "details": {
      "translations_created": 1,
      "translations_updated": 1
    },
    "errors": [
      {
        "code": "example",
        "detail": "example"
      }
    ],
    "id": "example",
    "language_id": "example",
    "resource_id": "example",
    "status": "example"
  }
}

On this page