Closed openstreetmap-trac closed 3 years ago
Author: bob[at]cakebox.net [Added to the original trac issue at 4.06pm, Thursday, 24th July 2008]
Just a quick thought: I think it should be possible to add a list to a parameter, then it would probably be best to create a helper template to go over this list and select the first available language.
If we wanted to get really fancy we might even support having multiple languages separated by newline, that would take a whole lot more work though. Would probably be very cool for places like Ireland.
Author: tal.bav[at]gmail.com [Added to the original trac issue at 12.22pm, Wednesday, 11th March 2009]
I opened somewhat duplicate feature request but not entirely, ticket:1643. I uploaded a patch which support a list of priorities for language usage. sorry for opening another ticket...
Author: iandees [Added to the original trac issue at 9.09pm, Monday, 9th September 2013]
Cleaning aging tickets.
Reporter: eleonenko[at]yandex.ru [Submitted to the original trac issue database at 7.39am, Monday, 9th June 2008]
It will be great to add support to render localized maps using osmarender/orp. The best way to do this is to add property to rules file with list of priorities of languages.
In attached file there is diff file of my implementation of this. (Using Osmarender 6.0 Alpha 6 ) It does not support list of priorities, but only one language.
To set preferred language you need to specify preferredLanguage attribute in "rules" element of file with rules.