rewrite of i18n-gen.sh
no need to manually generate po/pot files anymore
generation of pot files and updating po files now before translating
added some comments
to help a future maintainer understand the crap I wrote there
small fixes
stupid mistake, where I forgot to replace XX with $1
added locale information to generated po-file
removed redundant positive output
Merge pull request #340 from dtiersch/new_i18n_gen

New i18n gen