Following the [suggestion](https://wikis.world/@LucasWerkmeister/114876146945706671) from @lucaswerkmeister to use the `languagefallback` parameter, requesting `OSM.preferred_languages` is still required to receive language variant-specific labels and descriptions. e.g., OSM has `pt-PT`, MediaWiki doesn't. Thanks @1ec5 for forwarding in https://github.com/openstreetmap/openstreetmap-website/pull/6127#discussion_r2220068035! You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6218 -- Commit Summary -- * Use MediaWiki languagefallback * Generalize localization reducing function -- File Changes -- M app/assets/javascripts/index/element.js (13) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6218.patch https://github.com/openstreetmap/openstreetmap-website/pull/6218.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6218 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/6...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev