Black Lives Matter. Please consider donating to Black Girls Code today.

How to change mapbox language?

The labels (e.g. country names) of a mapbox map are in English by default. How can they be changed to another language?

Possibly relevant: The mapbox docs mention a JavaScript function setLayoutProperty(). How can I access this in python?

Besides that, all I could find is this two year old thread with broken links.

Hi,

You can fork the light/dark theme in Mapbox map editor to use the language of your choice. See here.
Good luck!