[openstreetmap-website] OSRM routing directions displayed in English regardless of 'ru' setting in user profile or HTTP Accept-Language (#1047)
d1g
notifications at github.com
Sat Aug 29 09:20:01 UTC 2015
Client-side issue but I'm not sure if this is right place to report this bug.
Case 1 (en user, ok):
1. open account settings (current route /user/xxx/account)
2. set 'Preferred Languages' to 'en'
3. open http://www.openstreetmap.org/directions?engine=osrm_car&route=48.85715%2C2.33652%3B48.85652%2C2.33818
4. "Directions" is in English. "Turn left onto" are also in English
Case 2 (fr user, ok):
1. same
2. set 'Langues préférées' to 'fr'
3. same
4. "Itinéraire" is in French. "Tourner à gauche sur" are also in French
Case 3 (ru user, bug):
1. same
2. set 'Предпочитаемые языки:' to 'ru'
3. same
4. "Маршрут" is in Russian. "Turn left onto" are in English (!), expected: "Примите влево на"
[Link to OSRM query](http://map.project-osrm.org/?hl=en&loc=48.857151,2.336513&loc=48.856598,2.338113&z=17¢er=48.855980,2.337395&alt=0&df=0&re=0&ly=-1171809665).
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1047
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150829/3b1fb204/attachment.html>
More information about the rails-dev
mailing list