<div class="gmail_quote">2009/3/9 Claudius Henrichs <span dir="ltr"><<a href="mailto:claudius.h@gmx.de">claudius.h@gmx.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Am 09.03.2009 13:01, D Tucny:<br>
<div class="im">> Hi folks,<br>
><br>
> I've been thinking about how it would be good to have the map available<br>
> in multiple languages... I think the easiest way to do this with what we<br>
> have is using a captionless base layer and transparent caption layers<br>
> for each of the languages... So... I put this thinking into practice and<br>
> put together a proof of concept at <a href="http://osm.newportcoastsoftware.com" target="_blank">http://osm.newportcoastsoftware.com</a><br>
><br>
> There is a single base, captionless layer and 40 transparent caption<br>
> layers, all available only to zoom 8.<br>
<br>
</div>Nice PoC, but it's surfacing some of the problems we still have with<br>
localization: I didn't explicitly tag the german names for countries<br>
where german doesn't differ from the loca "name=..." to avoid<br>
redundancy. I think the german layer should use these source for names<br>
in this order:<br>
1.) name:de<br>
2.) int_name<br>
3.) name<br>
<br>
I haven't checked for the mapnik syntax to do so, but maybe you could<br>
render it for one language as an example.<br>
</blockquote><div><br><br>With my first go a couple of weeks back for 8 languages I did do
fallback to at least 'name' using views as suggested on the wiki,
setting this up for 40 languages however was somewhat less trivial and
I felt that there would be a benefit to being able to display languages
with no fallback... I'll have a look to see about adding additional
layers with fallback...<br><br>d <br></div></div><br>