I want to change the language of the mapbox direction steps to Farsi.
I used this method but it does not work for Farsi language. Help me please. thank you.
map.addControl(new MapboxDirections({
accessToken: mapboxgl.accessToken,
language: 'fa'
}), 'top-left');