Opened 10 years ago
Last modified 10 years ago
#12110 closed defect
wrong translation of relation "description" in Selection and Relation toggle dialog — at Version 7
Reported by: | naoliv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 15.11 |
Component: | Core | Version: | |
Keywords: | i18n | Cc: |
Description (last modified by )
I was seeing that natural=wood
multipolygons are translated as madeira
in Portuguese (which is wrong for this case; it has a different meaning).
Looking at Launchpad I saw only one place where we can translate wood
:
Since there isn't any other string translated as madeira
, I guess that JOSM is also taking natural=wood
from this same translation.
Another translation for wood
(when used as natural=wood
) is needed.
Change History (9)
comment:1 by , 10 years ago
by , 10 years ago
Attachment: | floresta.png added |
---|
comment:2 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 10 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Ah, now I see that it is different for multipolygons.
comment:4 by , 10 years ago
The problem is with relations.
I don't know if you can export LC_ALL=pt_BR
and run JOSM, but I see this:
This "madeira" is coming from nowhere or from the translation that I sent on the first message :-)
comment:5 by , 10 years ago
Description: | modified (diff) |
---|---|
Summary: | Missing translation for "natural=wood" in pt_BR → wrong translation of relation "description" in Selection and Relation toggle dialog |
The problem is that JOSM displays there the value of one tag (I don't know the rules, which tag to choose), in this case the value of the key "natural" and translates it if a translation is availble. Since the wood in natural=wood is written with lower case letter, the wrong translation is used.
by , 10 years ago
Attachment: | relation.png added |
---|
comment:6 by , 10 years ago
Keywords: | i18n added |
---|---|
Milestone: | → 15.11 |
comment:7 by , 10 years ago
Description: | modified (diff) |
---|
The string for the preset item "natural=wood" is "Wood" (with capital letter).

The string is https://translations.launchpad.net/josm/trunk/+pots/josm/pt_BR/6545/+translate , which is translated with "Floresta" and this is also what JOSM displays.