From OpenStreetMap Wiki
Jump to: navigation, search


This is a very cool feature! One question: Could the template get the langugage automatically? I know this is done on some templates (e.g. Template:Tag).--Jojo4u (talk) 17:20, 20 August 2015 (UTC)

I am not a template wizard. What I wrote is about as far as my knowledge of Mediawiki templates took me. But maybe somebody else wants to try this. Joto (talk) 18:50, 20 August 2015 (UTC)


Hi, this looks interesting.

I just would like to point out that the table header (Key, Value, Element, ...) is always in Engligh and does not get translated to a proper language.

Also I have started a discussion about using this feature on Map Features page with some ideas for expaning this software here Talk:Map_Features#Using_Tag_lists. Chrabros (talk) 08:36, 5 September 2016 (UTC)

Translation currently only works for English and German. That is simply so, because the needed texts for these languages are hardcoded into the Javascript. This can be extended to add more languages. See . The problem is that this script needs to be changed and then deployed manually. We'll need a better mechanism in the long run to make this easier, but if anybody wants to supply translations, please go ahead and send emails or, better, pull requests. Joto (talk) 09:32, 5 September 2016 (UTC)
I have tried to create the pull request for Czech language. It was the first time I did something on GitHub, so I hope it is correct. Chrabros (talk)
Looks good. Joto (talk) 12:54, 5 September 2016 (UTC)
Localizations for Czech, German, English, Spanish, French, Hungarian, Italian, Japanese, Polish, Portugese, Russian, Ukrainian, Vietnamese, and Chinese are available now. Joto (talk) 13:49, 6 September 2016 (UTC)

Thousands separator in count

Just a suggestion. It would be nice to display the number in Count column with some thousands separator. I would suggest to use space. However I do not know what is the best option for the whole world. Chrabros (talk) 13:23, 5 September 2016 (UTC)

I have used a small space as a thousand separator in taginfo for a long time precisely to get around the problem that different separators are used around the world. Nobody has ever complained, so I'll use the same here. Thanks for the suggestion. Joto (talk) 16:39, 5 September 2016 (UTC)
This is live now. Joto (talk) 13:47, 6 September 2016 (UTC)
Thank you. Chrabros (talk) 15:35, 6 September 2016 (UTC)

Case-insensitive sorting

Hi again,

it seems that the list is sorted alphabetically but case sensitive. In this way the tags with capital letters are listed first which is odd. Please see for example MDF beeing listed first here User:Chrabros/test.

Chrabros (talk) 14:33, 5 September 2016 (UTC)

This is difficult to do perfectly, because it depends on the locale. But OSM keys and tags should be lowercase in almost all cases. And the current behaviour is consistent with how taginfo does it in its own web interface. If you want to be sure about the ordering, you can give a list of all tags. Joto (talk) 16:53, 5 September 2016 (UTC)

Mobile front end

The headings under Map Features that use tag lists say “Loading tag list” on mobile devices because the support is in Common.js but not Mobile.js. --Andrew (talk) 08:07, 7 September 2016 (UTC) Andrew (talk) 08:07, 7 September 2016 (UTC)