[openstreetmap/openstreetmap-website] Allow localized & country-specific banners (PR #6851)

Tom Hughes notifications at github.com
Tue Mar 3 11:06:09 UTC 2026


@tomhughes commented on this pull request.



> @@ -232,6 +232,9 @@ is:
 it: 
   english: Italian
   native: Italiano
+it-IT: 
+  english: Italian (Italy)
+  native: Italiano (Italia)

Well `config/languages.yml` is I think what is used to populate the languages table in the database which (currently) is used as the possible languages for diary entries - that can in theory be any possible languages.

As to `config/ui_languages.yml` that is much newer and is specifically those languages that we have UI translations for.

None of it really matters for this PR though because as discussed it's the wrong way to do things.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6851/review/3881863963 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260303/1117d60d/attachment.htm>


More information about the rails-dev mailing list