i18n-gen.sh adapted to 2.0
Merge pull request #354 from dtiersch/i18n-script_2.0

"new" i18n-gen.sh for 2.0