2009/3/9 Claudius Henrichs <[email protected]> > Am 09.03.2009 13:01, D Tucny: > > Hi folks, > > > > I've been thinking about how it would be good to have the map available > > in multiple languages... I think the easiest way to do this with what we > > have is using a captionless base layer and transparent caption layers > > for each of the languages... So... I put this thinking into practice and > > put together a proof of concept at http://osm.newportcoastsoftware.com > > > > There is a single base, captionless layer and 40 transparent caption > > layers, all available only to zoom 8. > > Nice PoC, but it's surfacing some of the problems we still have with > localization: I didn't explicitly tag the german names for countries > where german doesn't differ from the loca "name=..." to avoid > redundancy. I think the german layer should use these source for names > in this order: > 1.) name:de > 2.) int_name > 3.) name > > I haven't checked for the mapnik syntax to do so, but maybe you could > render it for one language as an example. >
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... d
_______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

