Accept Language
accept-language=<ISO 639-1 Code>
Preferred language order for showing search results, overrides the value specified in the Accept-Language HTTP header. Either uses standard rfc2616 accept-language string or a simple comma separated list of language codes. The Autocomplete endpoint only supporst a single ISO 639-1 language code, while Search and Reverse support multiple language codes separated by a comma.
- List of
Accept-Languagecodes: List of ISO 639-1 codes - Use
ISO 639-1Code (2 characters). If the language is not available, useISO 639-2Code (3 characters) from here - Default:
en
Some of the datasets we rely on, like OpenStreetMap, tend to have results in local languages. Some others have results only in English. Specifying a language does not guarantee a response purely in that language. We will, however, do our best to favour that language if our data has it.
Updated 7 months ago
