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
758 B
JSON
19 lines
758 B
JSON
{
|
|
"map": "Mappa",
|
|
"marker": "Indicatore sulla mappa",
|
|
"closePopup": "Chiudi popup",
|
|
"zoomIn": "Ingrandisci",
|
|
"zoomOut": "Riduci",
|
|
"resetBearing": "Trascina per ruotare la mappa, fai clic per tornare al nord",
|
|
"toggleAttribution": "Mostra/nascondi attribuzione",
|
|
"mapFeedback": "Feedback sulla mappa",
|
|
"enterFullscreen": "Schermo intero",
|
|
"exitFullscreen": "Esci da schermo intero",
|
|
"findMyLocation": "Trova la mia posizione",
|
|
"locationNotAvailable": "Posizione non disponibile",
|
|
"enableGlobe": "Attiva globo",
|
|
"disableGlobe": "Disattiva globo",
|
|
"ctrlScroll": "Usa Ctrl + scorrimento per ingrandire la mappa",
|
|
"cmdScroll": "Usa ⌘ + scorrimento per ingrandire la mappa",
|
|
"twoFingers": "Usa due dita per spostare la mappa"
|
|
}
|