added translation script
made translation.pl suitable for distribution