[openstreetmap/openstreetmap-website] Label administrative boundaries by real-world designation (PR #5493)
Minh Nguyễn
notifications at github.com
Sun Jan 12 00:58:21 UTC 2025
@1ec5 commented on this pull request.
> + arrondissement: "Arrondissement Boundary"
+ borough: "Borough Boundary"
+ cercle: "Cercle Boundary"
+ city: "City Boundary"
+ comarca: "Comarca Boundary"
+ county: "County Boundary"
+ departement: "Department Boundary"
+ department: "Department Boundary"
+ district: "District Boundary"
+ distrito: "District Boundary"
+ freguesia: "Freguesia Boundary"
+ local_authority: "Local Authority Boundary"
+ municipality: "Municipal Boundary"
+ municipi: "Municipal Boundary"
+ município: "Municipal Boundary"
+ nation: "International Boundary"
+ national: "International Boundary"
+ neighbourhood: "Neighborhood Boundary"
+ parish: "Parish Boundary"
+ province: "Provincial Boundary"
+ região: "Regional Boundary"
+ region: "Regional Boundary"
+ state: "State Boundary"
+ town: "Town Boundary"
+ township: "Township Boundary"
+ village: "Village Boundary"
For starters, I added a translatable string for each of the 30 or so `border_type=*` values that occur most frequently with `boundary=administrative`. Only one translatable string is provided per `border_type=*` value globally. This will likely present a problem for some languages that would translate English words like “district”, “county”, or “town” differently depending on the country. I think we’ll need to add some more specific strings qualified by country code, as explained in https://github.com/openstreetmap/openstreetmap-website/issues/5450#issuecomment-2566049746, but it’ll require a bit more research to find out which values are important in which countries.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5493#pullrequestreview-2545317289
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5493/review/2545317289 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250111/8383df46/attachment.htm>
More information about the rails-dev
mailing list