This sends the user's preferred languages to Nominatim instead of sending the browser languages - it will still fallback to the browser languages that were being sent before if we have no other source for preferred languages.
I also did (in a separate commit) some refactoring to improve how we build the URL for nominatim. Fixes #6420. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6421 -- Commit Summary -- * Lock changesets during a diff upload * Refactor construction of Nominatim URLs * Send the user's preferred languages to Nominatim -- File Changes -- M app/controllers/api/changesets/uploads_controller.rb (8) M app/controllers/concerns/nominatim_methods.rb (33) M test/controllers/api/changesets/uploads_controller_test.rb (29) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6421.patch https://github.com/openstreetmap/openstreetmap-website/pull/6421.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6421 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
