From c8798abb4e67ad4136f77f51d0b5ed6cc905e592 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 9 Jan 2014 15:59:19 +0100 Subject: [PATCH] Send locale to routing --- umap/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/settings/base.py b/umap/settings/base.py index f4524793..3992d010 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -145,7 +145,7 @@ AUTHENTICATION_BACKENDS += ( #============================================================================== LEAFLET_STORAGE_ALLOW_ANONYMOUS = False LEAFLET_STORAGE_EXTRA_URLS = { - 'routing': 'http://map.project-osrm.org/?loc={lat},{lng}' + 'routing': 'http://map.project-osrm.org/?loc={lat},{lng}&hl={locale}' } SITE_URL = "http://umap.org" UMAP_DEMO_SITE = False