[openstreetmap/openstreetmap-website] Banners in different languages (Issue #6498)
Marwin Hochfelsner
notifications at github.com
Fri Nov 7 11:40:43 UTC 2025
hlfan left a comment (openstreetmap/openstreetmap-website#6498)
> 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).
If we're happy with it working independently of the OSM user language settings, using an asset with [`<switch>`](https://developer.mozilla.org/docs/Web/SVG/Reference/Element/switch) elements could be a solution without overhead.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6498#issuecomment-3502072786
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6498/3502072786 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251107/c613a133/attachment-0001.htm>
More information about the rails-dev
mailing list