[openstreetmap/openstreetmap-website] Language variant support in OSM website. (#2636)

Tom Hughes notifications at github.com
Wed Jun 3 07:31:58 UTC 2020

This is currently tied to the web site locale - when choosing which title to display it prefers a locale which matches the locale being used for other UI elements which is this case is zh-TH I think.

What we would need to do is enhance https://github.com/openstreetmap/openstreetmap-website/blob/master/app/helpers/browse_helper.rb#L2 to work out what locales are available from the name tags and then match that against the user's preferred locales.

It's an open question whether that's really correct or if the current system (which tries to be consistent in what it displays) it better I guess.

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/20200603/799ead03/attachment.htm>

More information about the rails-dev mailing list