Index: /applications/editors/josm/i18n/launchpad.pl
===================================================================
--- /applications/editors/josm/i18n/launchpad.pl	(revision 36515)
+++ /applications/editors/josm/i18n/launchpad.pl	(revision 36516)
@@ -75,5 +75,5 @@
     getstats();
 }
-else
+elsif($ARGV[0] =~ /^http/)
 {
     mkdir "build";
@@ -83,4 +83,15 @@
     system "tar -xf laun*";
     chdir "../..";
+    copypo("build/josm_trans");
+    system "rm -rv build/josm_trans";
+    system "ant";
+}
+else
+{
+    mkdir "build";
+    mkdir "build/josm_trans";
+    die "Could not change into new data dir." if !chdir "build/josm_trans";
+    chdir "../..";
+    system "tar -xf $ARGV[0] -C build/josm_trans";
     copypo("build/josm_trans");
     system "rm -rv build/josm_trans";
