--- intltool-merge~	Tue Jun 15 11:57:01 2004
+++ intltool-merge	Tue Jun 15 12:14:44 2004
@@ -722,7 +722,14 @@
 	    $lookup =~ s/\s+$//s;
 
 	    if ($lookup) {
-		print $fh ">$lookup</$nodename>";
+                my $translation = $translations{$language, $lookup};
+                if ($MULTIPLE_OUTPUT && $translation) {
+                    print $fh ">", $translation, "</$nodename>";
+                    return; # this means there will be no same translation with xml:lang="$language"...
+                            # if we want them both, just remove this "return"
+                } else {
+                    print $fh ">$lookup</$nodename>";
+                }
 	    } else {
 		print $fh "/>";
 	    }
