AntonKhorev left a comment (openstreetmap/openstreetmap-website#5745)

How does the Norwegian fallback work? I can see it's working if I replace the 
locale selection logic with `I18n.locale = 'no'` in `set_locale`

https://github.com/openstreetmap/openstreetmap-website/blob/95b8297955268874bbc4dc657e96f5bc1f0fabb8/app/controllers/application_controller.rb#L204-L214

But is `Locale.available.preferred(preferred_languages)` ever going to return 
`'no'`?

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/5745/c2708823...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to