Le 2010-05-12 22:13, Richard Weait a écrit : > On Wed, May 12, 2010 at 9:44 PM, john whelan<[email protected]> wrote: > >> I've put in what I think might be useful to newcomers about what data to >> enter and why. >> >> http://wiki.openstreetmap.org/wiki/WikiProject_Canada#Canadian_best_practices >> >> Perhaps some one could look through it and comment or amend. >> > Are there bilingual road signs in Ottawa? If a sign said "Promenade > Wilkie Drive" I'd use > > name=Promenade Wilkie Drive > name:en=Wilkie Drive > name:fr=Promenade Wilkie >
I haven't taken the time to look at all the thread, but the way I see it is that 'name' should point to 'name:locale', whatever 'locale' may be. 'name' should even be never instantiated really. It's a generalization of an actual name that necessarily is associated with a language/locale. That is, a name can't exist if locale = void. Could the renderer use the user's browser's locale settings to guess which locale, and if that locale cannot be found fall back on 'name:en', given name:en exists for all entities or cascade down to the first locale where there is content ? That is, 'name' would be 'name:en' (or any non empty locale if name:en is not there) by default IF a browser setting can't be read to determined which locale the user is using. A separate language control for showing attributes should be available from the OSM site. That is, one could explicitly choose to override the guessed-from-browser locale and view tags/attributes/names in the language they choose. I don't know how feasible this is. My 2 cents, Yves > Other examples are Federal buildings, which even here in Toronto have > bilingual signs. The Parliament Buildings in Ottawa are named as > > name=Parlement du Canada / Parliament of Canada > name:en=Parliament of Canada > name:fr=Parlement du Canada > > Bilingual maps are a recent interest of mine. I have a French > language OSM now running in-house here. > > One thing I notice is that while rendering the World with name:fr, > Quebec and France are almost empty! They use name, as they should but > not also name:fr. The same is true of name:en and probably many other > languages. It looks a bit funny to see Edimbourg, Londres and > Copenhague, but Paris is missing! > > This is not insurmountable. It is possible to preferentially show > name:fr and fall back to name if name:fr is empty. It even possible > to default to name in Quebec, and use name:fr elsewhere and either > fall back, or not. And I suppose I would make each of these rendering > choices, depending on whether I want to show a lot of names, or > emphasize missing data with blank spaces (to encourage updates). > > Thoughts? > > _______________________________________________ > Talk-ca mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/talk-ca > > _______________________________________________ Talk-ca mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk-ca

