Better support for non-english/multi-lang areas #1643
Comments
Author: tal.bav[at]gmail.com More info about attachment:"ticket-1643-multilang.patch" For each rule that displays text (text,areaText,caption,pathText), the key name of the text tag to be displayed is given in a "k" attribute.
In this example
|
Author: randomjunk Please ignore Feature 2. It's completely backwards incompatible for any renderer/user that doesn't support it (there are a lot by the way) and unnecessary. See mailing list thread on this subject for some other ways to achieve the requirements. |
Author: bob[at]cakebox.net Replying to [comment:2 randomjunk]:
I completely agree. I've attached a patch modified to not have the expansion feature (and also omitted some whitespace changes and other junk). PS: it seems trac doesn't like the diff, there are changes to two files in there. |
Author: tal.bav[at]gmail.com Replying to [comment:3 bob[at]cakebox.net]:
I do not agree :) |
Author: iandees Cleaning aging tickets. |
Reporter: tal.bav[at]gmail.com
[Submitted to the original trac issue database at 2.44pm, Monday, 9th March 2009]
I request two features.
Feature 1: Add a "preferedLanguages" parameter which lists (most desired first, least desired last) the languages to use when using text tags (such as "name").
example:
assume
preferedLanguages=":en,:de,,:he"
when osmarenderer need a "name" tag, it will use the first available tag of the following:
Feature 2: Support making one tag be exactly the same as another tag using the following construct:
Note, no need to support name="123 $(name:he) 456". Just allow one tag to have the value of another.
The purpose of feature 1, is better and easier rendering of maps with custom languages.
The purpose of feature 2, is not to repeat the same name twice in areas that always use name:xx in addition to the name tag. For example, currently in Israel we use at least "name:he","name:en" and "name". And generally, "name"="name:he". The main reason we need a "name" tag at all, is the Slippy Map on the main OSM site.
The text was updated successfully, but these errors were encountered: