Closed nlehuby closed 6 years ago
No tr() in the meta. Meta uses the [lang=de] syntax. See e.G. https://josm.openstreetmap.de/wiki/Rules/GermanySpecific You can try. JOSM probably translates these texts if you provide them in lang-files. In this case server code needs to be adapted to do as well.
We have added the [lang=*]
in the mapcss file.
It is ok with JOSM (here in French)
But the wiki still don't have any description.
But the wiki still don't have any description.
What do you mean?
E.g. https://josm.openstreetmap.de/wiki/Nl%3ARules is correctly translated.
My bad, you are right. We forgot to manually add the [lang=en]
description :disappointed:
Hmm. There is no lang=en. But now I now what's missing. You need to drop the tr(). As said this is not suppoeted for meta entries.
We keep it to be cached by the translation process. We will try to do it in an other way.
The description field is set in the metadata, but the description does not show up, neither in JOSM, neither in the wiki: https://josm.openstreetmap.de/wiki/Rules
Is the use of the
tr
function forbidden here ? Any ideas @Klumbumbus @stoecker ?