Transfers

Transfers localization

Choose the language of names, descriptions and traveller-facing messages.

Share

Choose the language of names, descriptions and traveller-facing messages.

Accepted headers

The recommended header is LANG:

http
http
LANG: es-ES

The standard HTTP header is also accepted:

http
http
Accept-Language: es-CO,es;q=0.9,en;q=0.8

A language field in the body or query is still accepted for backwards compatibility, but prefer the headers.

Precedence

text
text
LANG > Accept-Language > body/query.language > en-US

With a composite Accept-Language, the first supported language wins. With no language at all, en-US is used.

Supported languages

LanguageNormalized valueAccepted aliases
Englishen-USen, en-US, english
Spanishes-ESes, es-ES, spanish, regional variants such as es-CO
Germande-DEde, de-DE, german
Frenchfr-FRfr, fr-FR, french
Portuguesept-BRpt, pt-BR, portuguese
Chinesezh-CNzh, zh-CN, chinese
Italianit-ITit, it-IT, italian

Unsupported language

json
json
{
  "statusCode": 400,
  "code": "transfer_invalid_language",
  "message": "Unsupported transfer language: ru-RU"
}

What gets localized

Amenity names and descriptions, vehicle and provider labels, goodToKnowInfo, pickupInstructions and flight verification messages all follow the requested language. Identifiers, tokens, currency codes and status values never change.

On a stream connection, the language is fixed when the connection opens and reused for every later event.