[openstreetmap/openstreetmap-website] Add English names to Select Language dialog (PR #6313)

Anton Khorev notifications at github.com
Wed Aug 13 01:26:31 UTC 2025


@AntonKhorev commented on this pull request.



> +        <small lang="en" class="english_name d-block text-secondary">
+          <%= language[:english_name] %>
+        </small>

@1ec5 If you propose using `new Intl.DisplayNames([lang], { type: "language" }).of(lang)`, you can open a new issue, then I'll ask you what are your plans for `lang = be-Tarask`, `lang = aln` and other corner cases, and you'll be able to describe your plans in a place more convenient than comments for a merged pull request.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6313#discussion_r2271864487
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6313/review/3113693688 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250812/f9ba78d7/attachment.htm>


More information about the rails-dev mailing list