Get road names in French

If your request specifies French as preferred language in the same context as the request from Get road names in preferred languages, using lang=fr, then the French name of streets will take priority and will be first in the array of names:

curl -X GET \
'https://router.hereapi.com/v8/routes?transportMode=car&origin=50.842556,4.375045&destination=50.842939,4.376699&return=polyline,actions,instructions,summary,turnbyturnactions&lang=fr&apikey={YOUR_API_KEY}'
{
  "nextRoad": {
    "name": [
      {
        "value": "Rue de Toulouse",
        "language": "fr"
      },
      {
        "value": "Toulousestraat",
        "language": "nl"
      }
    ]
  }
}

results matching ""

    No results matching ""