[openstreetmap/openstreetmap-website] I18n fallback fixes (PR #5745)

Tom Hughes notifications at github.com
Sat Mar 8 15:19:08 UTC 2025


@tomhughes commented on this pull request.



> @@ -21,7 +21,6 @@
 
   I18n.default_locale = OSM.DEFAULT_LOCALE;
   I18n.locale = locale;
-  I18n.fallbacks = true;

Actually there is still a good reason to have it - to provide fallback when the client side determined language code is not one we support at all. So I have put it back.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5745/review/2669208729 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250308/ccb8d6d4/attachment.htm>


More information about the rails-dev mailing list