Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

other languages #47

Closed
emiltin opened this issue Dec 4, 2011 · 6 comments
Closed

other languages #47

emiltin opened this issue Dec 4, 2011 · 6 comments

Comments

@emiltin
Copy link
Contributor

emiltin commented Dec 4, 2011

output route descriptions in other languages than english. (in our case we need danish).

@DennisOSRM
Copy link
Collaborator

Moving this to milestone 0.4 since 0.3 is feature complete and will be shipped as soon as remaining bugs are fixed.

@DennisOSRM
Copy link
Collaborator

This is now implemented on the client side with commit c4dc85f.

@emiltin
Copy link
Contributor Author

emiltin commented Apr 16, 2012

nice!

@DennisOSRM
Copy link
Collaborator

Localizations are really easy to do:

The blueprint is https://github.com/DennisSchiefer/Project-OSRM-Web/blob/master/WebContent/localization/OSRM.Locale.en.js

Just make a copy, change the filename to have the appropriate country code, e.g. .dk and change the strings accordingly. The %i and %s are placeholders for ordinals and street names.

@DennisOSRM
Copy link
Collaborator

We now have more than a dozen localizations on the client side. Therefore I am closing this issue.

@freenerd
Copy link
Member

freenerd commented Apr 6, 2017

This found a more sophisticated solution with https://github.com/Project-OSRM/osrm-text-instructions now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants