Search for content

Language of the response

If you specify the language query parameter in the request, then the names of e.g. places, countries, cities, streets... will be returned in that language, if it is available in the data. While country and city names are available in many languages, this is less true for street names.

The language parameter has to be formatted according to the BCP 47 language tag specification. Such a language tag starts with the ISO-639-1 language code optionally followed by a sub-tag for the script (ISO 15924, usually written in Title Case), the variant or other extensions. In the following example the desired language is set to English.

https://api.myptv.com/geocoding/v1/locations/by-text?searchText=Sandkaul&language=en

The following list shows examples of supported language tags:

LanguageBCP 47
Arabicar
English that was transliterated from the original Arabicen-Latn-t-ar
Azerbaijani, Latin scriptaz-Latn
Bulgarianbg
Catalan; Valencianca
Chinesezh
Chinese, traditional script, in Macaozh-Hant-MO
Croatianhr
Czechcs
Danishda
Dutch; Flemishnl
Englishen
Finnishfi
Frenchfr
Georgianka
English that was transliterated from the original Greeken-t-el
Greekel
Hungarianhu
Icelandicis
Italianit
Japaneseja
Koreanko
Malayms
Norwegianno
Polishpl
Portuguesept
Russianru
Romanianro
Serbiansr
Sloveniansl
Slovaksk
Spanishes
Swedishsv
Thaith
Turkishtr
Ukrainianuk
Vietnamesevi