Generate translation files automatically

Instead of updating the binary translation files manually, update them automatically.
Now we only need to sync the *.ts files.
Merge pull request #1498 from DanWin/translate

Generate translation files automatically