[openstreetmap/openstreetmap-website] Banners in different languages (Issue #6498)
Pablo Brasero
notifications at github.com
Thu Nov 6 11:17:40 UTC 2025
pablobm left a comment (openstreetmap/openstreetmap-website#6498)
My gut feeling is that there isn't much benefit to using an SVG here. It would be cool to have the text adapt, but it may come with some downsides. For example the SVG would need to be stored as a template (as opposed to an asset) and processed by Rails adding a slight impact to response time (although this could be cached).
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. Maintainers may be able to provide insight. I can play with it a bit if they think it's worth it.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6498#issuecomment-3496659048
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6498/3496659048 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251106/f4b685d7/attachment.htm>
More information about the rails-dev
mailing list