Index: /applications/editors/josm/i18n/convpreset.pl
===================================================================
--- /applications/editors/josm/i18n/convpreset.pl	(revision 35736)
+++ /applications/editors/josm/i18n/convpreset.pl	(revision 35737)
@@ -209,4 +209,10 @@
     $combo_n = "";
     print "\n";
+  }
+  # extract some values which we need at other places
+  elsif($line =~ /<key key="(highway|railway|waterway|landuse|building)" value="([^"]+)"/)
+  {
+    my ($key, $val) = ($1, $2);
+    print infoblock("key") . " trc(\"$key\", \"$val\");"."\n";
   }
   elsif(!$line)
