<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div><br></div><div><br></div><div><br></div><div>Jun 13, 2021, 17:01 by osm@poppe.dev:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>I'd really only add another language's name if it's a) not identical with the local name<br></div></blockquote><div dir="auto">Please, map them not only then. <br></div><div dir="auto"><br></div><div dir="auto">It also helps to provide labels targeting specific community when making maps.<br></div><div dir="auto"><br></div><div dir="auto">Obviously: add names only when actually used, not fake names or transcriptions.<br></div><div dir="auto"><br></div><div dir="auto">-------------------------------------------------------------------------------------------------------------<br></div><div dir="auto"><br></div><div dir="auto">In actual case I tried to<br></div><div dir="auto"><br></div><div dir="auto">- (1) render names in Polish<br></div><div dir="auto">- (2) if Polish name is not present then show English name<br></div><div dir="auto">- (3) try German name<br></div><div dir="auto">- (4) show name tag<br></div><div dir="auto"><br></div><div dir="auto">(2),(3) were present because for city in China<br></div><div dir="auto">English/German name was preferred in readability over what was in name tag.<br></div><div dir="auto"><br></div><div dir="auto">But this resulted in problems where name, name:de was tagged, but name<br></div><div dir="auto">had name in Polish - I was getting German name for cities in Poland.<br></div><div dir="auto"><br></div><div dir="auto">adding name:pl fixed this issue, and in general I see no better way to handle that<br></div><div dir="auto"><br></div><div dir="auto">For Polish I could try checking is feature is in Poland but that <br></div><div dir="auto">(1) is really problematic in actual use, for that case such functionality was impossible<br></div><div dir="auto">(2) would not work for all languages<br></div><div dir="auto"><br></div><div dir="auto">so I would encourage mapping also local name with name:lang if any<br></div><div dir="auto">name:lang key is already present on a feature.<br></div><div dir="auto"><br></div><div dir="auto">See <a href="https://github.com/tilezen/vector-datasource/issues/1406">https://github.com/tilezen/vector-datasource/issues/1406</a> for a closely related issue<br></div><div dir="auto">(this one is about removal of such tags in preprocessing rather about not mapping them,<br></div><div dir="auto">but the problem is the same)<br></div>  </body>
</html>