You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: partial port of #381. prefer browser language & safe config.json fetch (#440)
* Add translations
* fix: cherry pick conflicts
* Prefer browser language before runtime config; fallback to English\n\nPrecedence: URL param > browser language > runtime config > English\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Make English the default when no URL/browser language is available\n\nPrecedence: URL param > browser language > English\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Only fetch config.json in Docker; avoid noisy 404s\n\nOnly fetch config.json when OSRM_ENVIRONMENT='docker' to avoid noisy 404s in non-Docker environments.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add unit tests for language detection/selection; cover browser navigator cases and URL precedence
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix PR #440 review: honor OSRM_LANGUAGE, case-insensitive locale matching, add tests for language detection and entrypoint meta rewrite
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Fabio Barbero <fbarbe@scarlet.be>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments