stadiamaps / ferrostar

A FOSS navigation SDK built from the ground up for the future
https://stadiamaps.github.io/ferrostar/
Other
180 stars 25 forks source link

Localize directions automatically when possible for Valhalla #252

Open ianthetechie opened 2 months ago

ianthetechie commented 2 months ago

The idea would be to send the language code of the locale along with each request. This may require a small change to the code as I think we only pass costing options as a dictionary but this is a top level option IIRC.

We can get this from the device locale info and configure the core (mobile native) / map component (web) with an option to override the default locale.