[openstreetmap/openstreetmap-website] Support localization for Mapzen routing directions (#1219)

Kevin Kreiser notifications at github.com
Wed May 18 11:58:13 UTC 2016


@mormegil-cz is correct we are indeed using the `BCP47` style of language tagging and we have some user contributed translations which can be seen here:
https://github.com/valhalla/odin/tree/master/locales

we could allow for a coarser lookup on our end. so for example if a user asks for `en` and we have `[en-CA,en-GB,en-US]` to choose from we'll give back one of those? alphabetical first one wins? have contributors tell us which one should be the default if no locality is provided?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1219#issuecomment-220004813
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160518/5d5f0918/attachment.html>


More information about the rails-dev mailing list