[OSM-talk] international name rendering

Robert (Jamie) Munro rjmunro at arjam.net
Tue May 29 17:09:35 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jon Burgess wrote:
> On Mon, 2007-05-28 at 21:22 +0100, David Earl wrote:
>>> -----Original Message-----
>>> From: Jon Burgess [mailto:jburgess777 at googlemail.com]
>>> Sent: 28 May 2007 21:01
>>> To: David Earl
>>> Cc: OSM
>>> Subject: Re: [OSM-talk] international name rendering
>>>
>>>
>>> On Mon, 2007-05-28 at 20:45 +0100, David Earl wrote:
>>>>> I've attached some examples.
>>>> Can you put the names in brackets?
>>>>
>>> Sure, but can you be more specific and give some examples or what you
>>> want?
>>
>> I was thinking of something like
>>
>>   London (Londres, Llundain)
>> or
>>   London [Londres, Llundain]
>> or even
>>   London (fr:Londres, nl:Llundain)
>>
>> Would this get a bit unmanageable for places like London which probably has
>> different names in a couple of dozen languages?
>>
> 
> I was originally hoping for a vertical layout which I think would work
> better. I'm not sure brackets would be necessary in that case:
> 
>   London
>   Londres
>   Llundain

That's OK for places, but not for road names.

Personally, I think that we should just render name, name_loc (in
italic) and name:en tags (in brackets) for now. In most cases that will
only be one or two names. Where it gets to three, it starts to look
awkward. More than three is just horrible. Name and name_loc can always
be shown. I don't think there is a major need to show name:[language
other than en] until we have translated the rest of the interface into
that language.

When we do translate the interface into different languages, we should
probably just render different maps. Or we could be clever and put the
difference the name:en tags make into a separate transparent layer, or
detect when different language map tiles are going to be the same and
only cache them once. In the mean time, if someone wants to make a
tileserver that renders in a particular language, that's great and they
should go right ahead. We should program the home page to use the
accept-language header to point openlayers at that tileserver when
applicable.

Robert (Jamie) Munro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXFA9z+aYVHdncI0RAhj5AKCTLPfk6gh1WD+1eB2TFeOItzIP7wCfUCzx
ONfXv+SdgMArBMsNEb9117g=
=LMPz
-----END PGP SIGNATURE-----




More information about the talk mailing list