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

c933103 notifications at github.com
Wed Jun 3 07:52:06 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-TW 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.
> 

Under my current setting, other UI elements are currently being displayed in English.

-- 
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/2636#issuecomment-638026315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200603/00b5c050/attachment.htm>


More information about the rails-dev mailing list