Transifex

  • Documentation
  • API
  • Language Info

Language Info

The Language endpoint provides info regarding a specific or all languages supported by Transifex.

Getting language information

URL: /language/<language_code>/

GET

Return the fields namecodenplurals and pluralequation for the language associated with the specified code in JSON format.

Example reply:

$ curl -i -L --user api:<token> -X GET https://www.transifex.com/api/2/language/pt_BR

{
    "rtl": false,
    "pluralequation": "(n > 1)",
    "code": "pt_BR",
    "name": "Portuguese (Brazil)",
    "nplurals": 2
}

Language setting methods

URL: /languages/

GET

Return the fields namecodenplurals and pluralequation for a list of all languages supported by Transifex in JSON format.