[openstreetmap/openstreetmap-website] Query falls back to name:en for the object's name if present (#2369)

Tom Hughes notifications at github.com
Wed Sep 11 18:14:47 UTC 2019


A better URL is https://www.openstreetmap.org/query?lat=50.13299&lon=8.91703&locale=de#map=18/50.13299/8.91699 which starts more zoomed in and forces the locale to show the problem.

It's a tricky problem - we walk the locale fallback list and if we see a match then we use it. The problem is that en is always at the end of that list so that we pick up english messages when there is nothing else. We can't just ignore it in this case though as we want it when falling back from en-GB for example...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2369#issuecomment-530501118
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190911/e5d76023/attachment.html>


More information about the rails-dev mailing list