openstreetmap / openstreetmap-website

The Rails application that powers OpenStreetMap
https://www.openstreetmap.org/
GNU General Public License v2.0
2.21k stars 917 forks source link

website not entirely in English #5193

Closed maro-21 closed 2 months ago

maro-21 commented 2 months ago

I temporarily set the English language using the link https://www.openstreetmap.org/?locale=en

And almost the entire website is in English except for Map Key. Why?

It's the same when I set the English language permanently in Preferences.

osm-website-en-pl

tomhughes commented 2 months ago

That is a development tool that is not intended for end users.

Critically it only applies to the immediate page load and not to any links followed from that page, or sub-documents (like the key) fetched from it.

AntonKhorev commented 2 months ago

This is why: https://github.com/openstreetmap/openstreetmap-website/blob/17bea98e199f204b22847356fc64beaa81a9373a/app/controllers/site_controller.rb#L60-L61