Phrases

BasicStartupBusiness
GET/phrases/{lang}

Get all language (travel) phrases for specific languages. Currently supported languages are English, French, German, Italian and Spanish.

Name Type Required Description
{lang} path parameter String required alpha-3 code of the language. Currently supported are eng (English), fra (French), deu (German), ita (Italian) and spa (Spanish). You can pass multiple ones separated by comma , (see example request below).
curl --request GET \
        --url 'https://api.thebasetrip.com/v3/phrases/eng,spa' \
        --header 'Accept: application/json' \
        --header 'x-api-key: {apiKey}'
Name Type Description
category String Phrase category (BASICS, ACCOMMODATION, DIRECTIONS, EATING_DRINKING, KEY_PATTERNS, SIGNS, QUESTION_WORDS, NUMBERS, EMERGENCY, SHOPPING_SERVICES, TRANSPORTATION, TIME_DATE, DAYS_OF_WEEK, MONTHS)
content String Root (source) phrase. Always in English. For debug purposes only!
isGlossary String Determines if it's part of glossary or not (used to display it a bit differently within UI)
alpha3code.content String Phrase in defined language
alpha3code.dialect String Language dialect, if available (AMERICAN, BRITISH, PORTUGUESE, BRAZILIAN).
alpha3code.gender String Gender specific phrase, if available (MALE or FEMALE).
alpha3code.style String Style specific phrase, if available (FORMAL or INFORMAL).
[
  {
    "category": "BASICS",
    "content": "Hello.",
    "isGlossary": false,
    "eng": {
      "content": "Hello.",
      "dialect": "AMERICAN"
    },
    "spa": {
      "content": "Hola."
    }
  },
  {
    "category": "BASICS",
    "content": "Goodbye.",
    "isGlossary": false,
    "eng": {
      "content": "Goodbye.",
      "dialect": "AMERICAN"
    },
    "spa": {
      "content": "Adiós."
    }
  },
  {
    "category": "BASICS",
    "content": "How are you?",
    "isGlossary": false,
    "eng": {
      "content": "How are you?",
      "dialect": "AMERICAN"
    },
    "spa": {
      "content": "¿Qué tal?"
    }
  },
  ...
]