Bonjour,<br><br>Avis aux traducteurs qui savent utiliser GIT. Taginfo supporte maintenant plusieurs langues. Il n'y a pas de raison que le Français y échappe. <br><br>Emilie Laffray<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Jochen Topf</b> <span dir="ltr"><<a href="mailto:jochen@remote.org">jochen@remote.org</a>></span><br>Date: 22 November 2010 17:57<br>Subject: [OSM-talk] Localisation and better search in Taginfo<br>
To: <a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br><br><br>I just put the new version of Taginfo (<a href="http://taginfo.openstreetmap.de/" target="_blank">http://taginfo.openstreetmap.de/</a>)<br>
online.<br>
<br>
Taginfo now supports multiple languages. Currently only English and German,<br>
but other languages can be added easily. Not all texts are translated yet.<br>
By default Taginfo uses the language selected in your browser. Using the<br>
drop-down-box on the top right you can override this. The language choice<br>
will then be stored in a cookie.<br>
<br>
If you want to help translating: The translations are in the git repository<br>
at <a href="https://github.com/joto/taginfo/tree/master/web/i18n/" target="_blank">https://github.com/joto/taginfo/tree/master/web/i18n/</a> . The format should<br>
be obvious from the existing files. In the medium term this should probably<br>
be done through translatewiki or so, maybe somebody wants to take this on.<br>
<br>
In addition I have redone the whole search. Keys and values are now searched<br>
using a prefix search, so "max" will find "maxspeed" but not "betamax". Parts<br>
of a key or value separated by colons, whitespace, or similar are searched<br>
separately. If you search for something like "=residential" (without the<br>
quotes but with the equals sign) all values with "residential" in them are<br>
found regardless of the key. Something like "highway=residential" also works.<br>
<br>
The search has an autocompletion function which finds frequently appearing<br>
tags.<br>
<br>
The Taginfo pages contain an OpenSearch description, you can easily add the<br>
Taginfo search to your browser. In Firefox for instance you can click on the<br>
icon to the left of the search field and choose "Add Taginfo".<br>
<br>
The search isn't perfect. There are many difficulties, for instance it should<br>
be fast and not need too many server resources. Thats why there is no<br>
substring search. And the search should be as intuitive and easy to use as<br>
possible. Making the equals sign "magic", interpreting it in a special way<br>
is an experiment. It makes some searches very easy, but sometimes it doesn't<br>
do what you want. We'll see how that works out in practice.<br>
<br>
If you are interested in technical details: Taginfo uses a fullext index<br>
created by the FTS3 module included in Sqlite. For the autocompletion a<br>
special table containing common keys and key/value combinations is used.<br>
Its (re-)created on every data import.<br>
<br>
Have fun experimenting!<br>
<br>
Jochen<br>
<font color="#888888">--<br>
Jochen Topf <a href="mailto:jochen@remote.org">jochen@remote.org</a> <a href="http://www.remote.org/jochen/" target="_blank">http://www.remote.org/jochen/</a> +49-721-388298<br>
<br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
</font></div><br>