[openstreetmap/openstreetmap-website] Fixes delimiter direction in map key (PR #3731)

bgo-eiu notifications at github.com
Wed Oct 5 23:26:10 UTC 2022


`to_sentence` likely gets its data from CLDR which is not interested in adding support for Punjabi based on my contact wirh them offering to add info through their survey tool earlier in the year.

It's also not the best choice to use "and" in this context in every language. In Punjabi, "and" and "on" are homographs,  and "on" is used instead of "in" to describe location. So if we want to say for example, "parks and gardens," we would say پارک تے باغ ("paark te baag) and if we want to say "gardens in parks" this is also پارک تے باغ. This is not a problem in a paragraph because it is usually obvious what is meant, but in a map key it is not actually clear what is meant. So even if `to_sentence` was able to generate an  "and" sentence for Punjabi, we would still have to override it for this language at least in order for the key to be unambiguous.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3731#issuecomment-1269101013
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3731/c1269101013 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221005/f1ceba6c/attachment-0001.htm>


More information about the rails-dev mailing list