Generize l10n packaging script and fetch the drupal version.