X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5f4b7d3f916e132f860ab12c017aba638556abf8..4028f4cdb91f616bc774dc9b9fa8c7183eb1f6dd:/app/views/site/id.html.erb diff --git a/app/views/site/id.html.erb b/app/views/site/id.html.erb index 27a3e835b..7d186c5f6 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 = select_locale(ID::LOCALES).to_s %> + <% locale = ID::LOCALES.preferred(preferred_languages).to_s %> var id = iD() .presets(iD.data.presets)