MapLibre's and Mapbox's own control labels stayed English under ar/es (rega's row 30). Both engines take a `locale` map of their UI strings at construction; useMapInstance now passes one built from the new mapui catalogue (17 strings x 11 locales, parity PASS) for the reader's language. The keys are the engines' own (MapLibre 5.24's list, plus Mapbox's gesture-hint names); an engine ignores the rest. Built doxa-simple-map carries the translations; check:i18n-treeshake PASS.
19 lines
773 B
JSON
19 lines
773 B
JSON
{
|
|
"map": "Mapa",
|
|
"marker": "Marcador del mapa",
|
|
"closePopup": "Cerrar ventana",
|
|
"zoomIn": "Acercar",
|
|
"zoomOut": "Alejar",
|
|
"resetBearing": "Arrastra para girar el mapa; haz clic para orientar al norte",
|
|
"toggleAttribution": "Mostrar u ocultar atribución",
|
|
"mapFeedback": "Comentarios sobre el mapa",
|
|
"enterFullscreen": "Pantalla completa",
|
|
"exitFullscreen": "Salir de pantalla completa",
|
|
"findMyLocation": "Buscar mi ubicación",
|
|
"locationNotAvailable": "Ubicación no disponible",
|
|
"enableGlobe": "Activar globo",
|
|
"disableGlobe": "Desactivar globo",
|
|
"ctrlScroll": "Usa Ctrl + desplazamiento para hacer zoom en el mapa",
|
|
"cmdScroll": "Usa ⌘ + desplazamiento para hacer zoom en el mapa",
|
|
"twoFingers": "Usa dos dedos para mover el mapa"
|
|
}
|