diff --git a/assets/typescript/list/index.ts b/assets/typescript/list/index.ts index da4279042..d8799ceb7 100644 --- a/assets/typescript/list/index.ts +++ b/assets/typescript/list/index.ts @@ -1,6 +1,7 @@ import ApexCharts from 'apexcharts'; import { GeoJSON, Map, TileLayer } from 'leaflet'; +import de from 'apexcharts/dist/locales/de.json'; import en from 'apexcharts/dist/locales/en.json'; import es from 'apexcharts/dist/locales/es.json'; import fr from 'apexcharts/dist/locales/fr.json'; @@ -11,7 +12,7 @@ import pl from 'apexcharts/dist/locales/pl.json'; import 'leaflet/dist/leaflet.css'; -const locales = [en, es, fr, it, ja, nl, pl]; +const locales = [de, en, es, fr, it, ja, nl, pl]; const mapElement = document.getElementById('map-region'); if (mapElement !== null) { diff --git a/config/services.yaml b/config/services.yaml index 0a10337bf..90053f731 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -7,7 +7,7 @@ parameters: osmcha.api.url: 'https://osmcha.org/api/v1/' osmcha.api.key: '%env(OSMCHA_API_KEY)%' osm.api.url: 'https://api.openstreetmap.org/api/0.6/' - app.locales: en|fr|it|nl|bg|es|ja|pl + app.locales: en|fr|it|nl|bg|es|ja|pl|de app.userAgent: 'OpenStreetMap Welcome Tool' app.title: 'OpenStreetMap Welcome Tool'