[openstreetmap/openstreetmap-website] Banners in different languages (Issue #6498)
Daniele Santini
notifications at github.com
Sun Mar 15 19:43:38 UTC 2026
Danysan1 left a comment (openstreetmap/openstreetmap-website#6498)
> As for PNG, I'm not seeing support for alternative languages for banners, but it should be possible to add it. I say "should" because my knowledge of I18n is a bit lacking 😅 I want to think that if banners are declared for specific languages it'll be possible to select the right one given the user locale.
https://github.com/openstreetmap/openstreetmap-website/pull/6851 just introduced a banner configuration to specify a whitelist of locales to show the banner in. It would be trivial to add also a blacklist configuration of locales NOT to show the banner in. I can open the PR for that if needed.
> I think it would be good to hear from the people making banners. Would they submit multiple PNGs in different languages?
This question remains unanswered so far. If the answer is yes, these new banner configs would allow to show the image in the specific language only for users who selected that language and show the one in english to everybody else. Would this config satisfy our banner needs?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6498#issuecomment-4063753493
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6498/4063753493 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260315/759856c5/attachment.htm>
More information about the rails-dev
mailing list