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

Tom Hughes notifications at github.com
Wed Jun 3 09:20:36 UTC 2020

I don't understand how that can happen unless you have somehow got `I18n.locale` set to `zh` which shouldn't be possible...

Hmm I suspect you may be tripping over a similar bug to one I encountered the other day which will also be why you are getting english language strings. The problem is caused where rails has translations for a locale (like `zh`) that we don't have translations for and that is enough for us to treat it as a valid locale.

What I don't have yet is a good fix...

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/9f36d099/attachment.htm>

More information about the rails-dev mailing list