[openstreetmap/openstreetmap-website] Translations: "Toggle Attribution" (Issue #6967)

Marwin Hochfelsner notifications at github.com
Mon Apr 6 19:41:46 UTC 2026


hlfan left a comment (openstreetmap/openstreetmap-website#6967)

> I can't find where. I searched for [toggle_attribution](https://github.com/search?q=repo%3Aopenstreetmap%2Fopenstreetmap-website+toggle_attribution&type=code) but it's only in config/locales/en.yml.

With the ongoing maplibre transition, the way to supply translations has changed; you won't be able to search the codebase for the new keys anymore. You can find the default locale and its keys here:

https://github.com/maplibre/maplibre-gl-js/blob/main/src/ui/default_locale.ts

Without the translation, you would see this tooltip for expandable attribution:

<img alt="attribution toggle without supplied locale" src="https://github.com/user-attachments/assets/a62c1bee-ac5d-4e28-b6c0-823b20f3b2bf" />

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6967#issuecomment-4194585241
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6967/4194585241 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260406/fc4e67f7/attachment.htm>


More information about the rails-dev mailing list