pablobm created an issue (openstreetmap/openstreetmap-website#7075)
### URL
https://www.openstreetmap.org/node/12771999286
### How to reproduce the issue?
I'm seeing an issue in elements with a `brand:wikidata`, on Firefox, when *not
logged in*.
In this case, Firefox is not sending an `Accept-Language` header. Since it
doesn't have anything else to go with, it doesn't set a
`data-preferred-languages` in the `<head>` element. Later on, when we request
wikidata info, we don't know what language `description` to choose, end up not
choosing anything. As a result, we get things like this:
<img width="407" height="147" alt="Image"
src="https://github.com/user-attachments/assets/405c4a6a-d2b2-45f1-a16c-60ea1995f085"
/>
When in other browsers, in similar circumstances, the description is available:
<img width="395" height="148" alt="Image"
src="https://github.com/user-attachments/assets/d915bd5b-cb53-482c-9f28-e8e0096894d8"
/>
### Screenshot(s) or anything else?
_No response_
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7075
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev