Add code to update the *.ts files when the UPDATE_TRANSLATIONS option is turned on.