1ec5 left a comment (openstreetmap/openstreetmap-website#6851)
The referenced board minutes refer to “enabling geoip targeting”, which we
don’t have yet. This would require a third-party service. For example,
[Wikimedia sites](https://wikitech.wikimedia.org/wiki/Geolocation) rely on a
paid MaxMind account for their geotargeted CentralNotice banners.
If the goal is to limit the audience to Italians but only on a best effort
basis, then a simpler, cheaper, and more private alternative would be for the
JavaScript frontend code to check whether the user is looking at Italy on the
map, regardless of where they sit. iD’s community index integration does
something similar using the country-coder package.
Another possibility would be to simply show the banner to all Italian speakers,
even if it results in some Swiss users seeing it too. That’s essentially what
you’re doing here, since we don’t have a separate Swiss Italian localization.
You wouldn’t need to create a more specific `it-IT` localization in that case.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6851#issuecomment-3987778860
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6851/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev