@eureka:
Here is the output for all locales.
This would mean that we put 46 MB of locale definitions in the repository (one-time, these files don't change). I have never compiled a locale, but if you say you needed to pull loads of dependencies, then I'm strongly in favor of bundling already compiled files instead of compiling them on the Kindle.
The size is not a terribly big issue, except for the current way of providing localized daily snapshots via ge.tt.
@JustAMan:
The output looks fine, and I'm currently updating the Java stuff with it. One minor suggestion: could you make the output sorted? This is tremendously useful when scanning through it "manually". I'm currently using the little perl program shown below to sort it, but it'd be nice if you could include this in your tool.
Code:
open IN, "blacklist-de.txt" or die $!;
my %V;
my ($k, $v);
while (<IN>) {
$_ =~ s/[\r\n]+$//;
next if (/^\s*$/);
if ($_ =~ /^\s*\/\//) {
$k = $_;
} else {
$v = $_;
}
$V{$k} = $v;
}
close IN;
foreach $k(sort keys %V) {
print "$k\n";
print $V{$k}."\n";
}
(Yes, I'm still using the de locale, because a) i know it, and b) ru_RU is not at 100%, so does not include all strings).