maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] Turkish translation for maps


From: Thomas Petazzoni
Subject: Re: [Maposmatic-dev] Turkish translation for maps
Date: Sat, 28 Apr 2012 00:38:26 +0200

Hello Hakan,

Le Fri, 27 Apr 2012 16:26:45 +0200,
"Hakan Tandogan" <address@hidden> a écrit :

> Please find attached the translation file for Turkish. I assume it
> should be committed as tr/LC_MESSAGES/ocitysmap.po

Thanks, I have added it. It is deployed on our development version at
http://dev.maposmatic.org. The turkish language is now automatically
selected by default for renderings that have a geographic area in
Turkey. You can see an example at
http://dev.maposmatic.org/rendered/000586_2012-04-28_00-31_TestTurkey.png.

> For i18n.py, I cannot provide an implementation as I don't have access to
> a testing setup (including database), so I have to describe the rules that
> I think should apply:
> 
> The language code should be tr_TR
> 
> APPELLATIONS = [ u"Sokak", u"Sokağı" ]

I have implemented this, but for the rendering above, it seems it
wasn't necessary: the appellations are always after the street name,
i.e you have :

 Hünnap Sokak
 Hasan Bey Sokağı

and not

 Sokak Hünnap
 Sokağı Hasan Bey

So the street names do not require any sort of special handling to be
properly sorted. This mechanism of appellations was needed for
languages like french or spanish where the street names almost always
look like:

 Rue de la Paix
 Avenida del Mar

And we want those streets to be indexed as:

 Paix (Rue de la)
 Mar (Avenida del)

Can you confirm that Sokak and Sokağı are always suffixes? If it's the
case, then we don't need a special handling for those appellations,
because the turkish street names would be naturally sorted.

> The accent support I would leave alone for the moment, I will verify full
> rules with some university personel I happen to know.

Ok.

> Hope this input is good enough to have turkish localized maps, feel free
> to throw me a hint or five if I'm missing anything vital :-)

It's now up to you to do several renderings on dev.maposmatic.org of
various locations in Turkey, and check that the generated street index
is correct and makes sense compared to street indexes in commercial
maps.

Also, if you have some time, it would be great to have a translation of
the MapOSMatic website in turkisch.

Thanks a lot for your contribution,

Thomas
-- 
Thomas Petazzoni                http://thomas.enix.org
MapOSMatic                      http://www.maposmatic.org
Logiciels Libres à Toulouse     http://www.toulibre.org
Embedded Linux                  http://www.free-electrons.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]