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

Tom Hughes notifications at github.com
Tue Feb 9 00:17:31 UTC 2021

Because the primary purpose of the fallback language is for selecting UI strings where we need some sort of default and "en" is the default because that is the source language - using the hierarchy to match name tags is very much an edge case but because we always add en to the end of the list of languages in order to make UI strings work we wind up find name:en as well.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210208/ede693d8/attachment.htm>

More information about the rails-dev mailing list