You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
default placeholder text should be localized if language option provided #150
The placeholder text in the search bar for the geocoder remains "Search" (in English), even when the language of the map is changed, as in let geocoder = new MapboxGeocoder({accessToken: mapboxgl.accessToken, language: 'es' });. I cannot figure out a clean way to change it.
changed the title [-]Changing geocoder language does not change the word "Search"[/-][+]default placeholder text should be localized if language option provided[/+]on Apr 13, 2018
Activity
andrewharvey commentedon Apr 13, 2018
@vfoss You can set it with the
placeholderoption.But let's leave this ticket open to make the default placeholder set by the first language if provided.
[-]Changing geocoder language does not change the word "Search"[/-][+]default placeholder text should be localized if language option provided[/+]localize placeholder based on first language, #150
andrewharvey commentedon Mar 21, 2019
Done in https://github.com/mapbox/mapbox-gl-geocoder/tree/version4 by #201, slated for v4 release.