X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6659fb9b33503ee6519f89131a8a4b5fef515bcd..340c28127ffee83a9a882b807cee8e5bdc3f3b6b:/app/views/site/id.html.erb?ds=inline diff --git a/app/views/site/id.html.erb b/app/views/site/id.html.erb index 8565cb9ea..96262f1e2 100644 --- a/app/views/site/id.html.erb +++ b/app/views/site/id.html.erb @@ -16,7 +16,7 @@ 'Please upgrade your browser or use Potlatch 2 to edit the map.'; document.getElementById('id-container').className = 'unsupported'; } else { - <% locale = request.compatible_language_from(ID::LOCALES) || "en" %> + <% locale = select_locale(ID::LOCALES) %> var id = iD() .embed(true)