Index: applications/editors/josm/i18n/build.xml
===================================================================
--- applications/editors/josm/i18n/build.xml	(revision 26844)
+++ applications/editors/josm/i18n/build.xml	(revision 26849)
@@ -101,3 +101,9 @@
         </delete>
     </target>
+    <target name="test">
+        <mkdir dir="${i18n.build.dir}/test"/>
+        <exec executable="perl">
+            <arg line="i18n.pl ${i18n.build.dir}/test/ po/*.po"/>
+        </exec>
+    </target>
 </project>
Index: applications/editors/josm/i18n/launchpad.pl
===================================================================
--- applications/editors/josm/i18n/launchpad.pl	(revision 26844)
+++ applications/editors/josm/i18n/launchpad.pl	(revision 26849)
@@ -12,10 +12,11 @@
 else
 {
-    mkdir "new";
-    die "Could not change into new data dir." if !chdir "new";
+    mkdir "build";
+    mkdir "build/new";
+    die "Could not change into new data dir." if !chdir "build/new";
     system "wget $ARGV[0]";
     system "tar -xf laun*";
-    chdir "..";
-    foreach my $name (split("\n", `find new -name "*.po"`))
+    chdir "../..";
+    foreach my $name (split("\n", `find build/new -name "*.po"`))
     {
       my $a=$name;
@@ -41,6 +42,7 @@
 my $outdate = `date -u +"%Y-%m-%dT%H_%M_%S"`;
 chomp $outdate;
-mkdir "josm";
-system "cp po/*.po po/josm.pot josm";
+mkdir "build/josm";
+system "cp po/*.po po/josm.pot build/josm";
+chdir "build";
 if(!$count)
 {
@@ -59,2 +61,3 @@
 }
 system "rm -rv josm new";
+chdir "..";
