Language

Certain Evy endpoints can return internationalized resources when given a language (those that do will have it mentioned in their documentation page).

In order to modify the language of an offer object, the Accept-Language standard HTTP header should be used. It is important to note:

  • The header must consist of exactly one language
  • This language must be included in the supported languages list (there is no partial matching)

When the header is not specified or does not respect one of the above conditions, the language will default to that of the store.

Supported languages

  • Belgian stores:
    • fr-BE
    • nl-BE
  • French stores: fr-FR
  • German stores: de-DE
  • Dutch stores: nl-NL
  • Spanish stores: es-ES
  • Italian stores: it-IT
  • UK stores: en-GB
  • Austrian stores: de-AT
  • Finnish stores: fi-FI
  • Irish stores: en-IE
  • Greek stores: el-GR
  • Portuguese stores: pt-PT
  • Swedish stores: sv-SE
  • Slovakian stores: sk-SK
  • Polish stores: pl-PL
  • Danish stores: da-DK
  • Romanian stores: ro-RO
  • Czech stores: cs-CZ

🚧

Ensure that the language tag provided matches what is expected for each respective store. For example, using the fr-FR language for a Belgian store would be considered invalid; fr-BE should instead be provided.

Examples

Accept-Language: de-DE