Internationalization

Every resource in ADDb is currently available in four languages; english, spanish, german and portuguese. It defaults to english but by providing the lang parameter in the query you can specify in which language you want the response.

Using the same example as in the responses section and providing a lang we could get the same resource in spanish http://addb.absolutdrinks.com/ingredients/absolut-vodka/?lang=es

{
    "description": "ABSOLUT VODKA tiene un sabor rico, suave y dulce, con el carácter distintivo del grano de trigo. ABSOLUT VODKA es ideal para beberse solo con hielo bien frío y no está nada mal como base para cientos de bebidas y cócteles.",
    "isCarbonated": false,
    "isAlcoholic": true,
    "isBaseSpirit": true,
    "isJuice": false,
    "type": "vodka",
    "languageBranch": "es",
    "id": "absolut-vodka",
    "name": "ABSOLUT Vodka"
}

The language codes for the languages are

  • English: "en"
  • Spanish: "es"
  • German: "de"
  • Portuguese: "pt"
  • Russian: "ru"
  • Polish: "pl"

Continue reading about paging