GoMap icon indicating copy to clipboard operation
GoMap copied to clipboard

Show field translation in All Tags

Open tordans opened this issue 10 months ago • 3 comments

Some field in the tagging schema have translation strings for some or all (given "autoSuggestions": false) of the options.

GoMap does already use those to list options in the dropdown, right? It could also show the translation strings next to it. Maybe by showing the key on the left and the translation on the right of the line (aligned right)?

Example: https://github.com/openstreetmap/id-tagging-schema/blob/main/data/fields/building.json#L5-L68

Image

tordans avatar Apr 21 '25 13:04 tordans

I've implemented this, and I'm sure it looks good to you in German, but in English it's pretty silly looking because most strings are just needlessly duplicated. Looking for ideas.

Image Image

bryceco avatar May 20 '25 22:05 bryceco

I've implemented this, and I'm sure it looks good to you in German, but in English it's pretty silly looking because most strings are just needlessly duplicated. Looking for ideas.

If possible, my suggestion would be something like this

Image

Or this

Image

The translations in id-tagging-schema are American english. It might be OK to hide them for US. But some raw values are not following the direct translations in the way we use them in OSM which is easier to understand based on the translations.

https://docs.google.com/presentation/d/1tuL01E2Amz7I4XnksTY65PoRiWN5n3ZFdC060On-vYM/edit?slide=id.p#slide=id.p


Btw, ideally the search in the input would search both values (raw value and translation value of the current language)

tordans avatar May 21 '25 05:05 tordans

Those examples look great! They also totally break the existing autocomplete implementations, so it requires a bunch more work. I'll look into it.

bryceco avatar May 21 '25 06:05 bryceco