diff --git a/commands/core/locale.drush.inc b/commands/core/locale.drush.inc
index e69de29..f6df1a0 100644
--- a/commands/core/locale.drush.inc
+++ b/commands/core/locale.drush.inc
@@ -0,0 +1,202 @@
+<?php
+
+/**
+ * Implements hook_drush_help().
+ */
+function locale_drush_help($section) {
+  switch ($section) {
+    case 'drush:locale-dump':
+      return dt('Exports the Drupal Locale as PO files.');
+  }
+}
+
+/**
+ * Implementation of hook_drush_command().
+ */
+function locale_drush_command() {
+  $items = array();
+  $items['locale-dump'] = array(
+    'callback' => 'drush_locale_dump',
+    'description' => 'Exports the Drupal Locale as PO files.',
+    'examples' => array(
+      'drush locale-dump' => 'Save all locale po files to the directory above Drupal root.',
+    ),
+    'options' => array(
+      'result-directory' => array(
+        'description' => 'Save to a directory. The directory should be writable by drush. If --result-directory is omitted then date based directory will be created under ~/drush-backups directory.',
+        'example-value' => '/path/to/file',
+        'value' => 'optional',
+      ),
+    ),
+  );
+
+  $items['locale-import'] = array(
+    'callback' => 'drush_locale_import',
+    'description' => 'Imports a Drupal Locale PO file.',
+    'examples' => array(
+      'drush locale-import project.po nl default' => 'Import a locale po file into the dutch default group.',
+    ),
+    'arguments' => array(
+      'file' => array(
+        'description' => 'Po file to import.',
+        'example-value' => '/path/to/file.po',
+      ),
+      'language' => array(
+        'description' => 'The language of the po file to import.',
+        'example-value' => 'fr',
+      ),
+      'group' => array(
+        'description' => 'The language group of the po file to import.',
+        'example-value' => 'default',
+      ),
+    ),
+    'options' => array(
+      'import-mode' => array(
+        'description' => 'Set the mode for importing omiting or setting this to 0 will overwrite all existing strings, 1 will keep existing strings.',
+        'example-value' => '1',
+        'value' => 'optional',
+      ),
+    ),
+  );
+
+  $items['locale-sync'] = array(
+    'callback' => 'drush_locale_sync',
+    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
+    'description' => 'Copy and import source locale to target locale. Transfers via rsync.',
+    'drush dependencies' => array('core'), // core-rsync.
+    'examples' => array(
+      'drush locale-sync @dev @prod' => 'Copy the locale defined in @dev to @prod.',
+    ),
+    'arguments' => array(
+      'from' => 'Name of subdirectory within /sites or a site-alias.',
+      'to' => 'Name of subdirectory within /sites or a site-alias.',
+    ),
+  );
+
+  return $items;
+}
+
+/**
+ * Command callback. Outputs all Drupal textgroups in all different languages.
+ */
+function drush_locale_dump() {
+  $result_directory = drush_get_option('result-directory', FALSE);
+
+  if ($result_directory && !file_exists($result_directory)) {
+    mkdir($result_directory);
+  }
+
+  $languages = language_list();
+
+  $names = locale_language_list('name');
+  unset($names['en']);
+
+  // Determine result directory, if not set.
+  if (empty($result_directory)) {
+    // User did not pass a specific value for --result-file. Make one.
+    $backup = drush_include_engine('version_control', 'backup');
+    $result_directory = $backup->prepare_backup_dir('locale');
+    if (empty($result_directory)) {
+      $result_directory = "/tmp";
+    }
+  }
+
+  $groups = module_invoke_all('locale', 'groups');
+  $date = gmdate('Ymd_his');
+
+  $files = array();
+
+  // Dump each language + group in a file.
+  foreach ($names as $language => $language_name) {
+    foreach ($groups as $group => $group_name) {
+      // $result_directory is passed in to us usually via --result-directory.  If the user
+      // has set $options['result-directory'] = TRUE, then we
+      // will generate PO dump files in the same backup
+      // directory that pm-updatecode uses.
+      $output = _locale_export_po_generate($languages[$language], _locale_export_get_strings($languages[$language], $group));
+
+      $filename = drush_get_context('DRUSH_URI') . '-' . $language . '-' . $date . '-' . $group . '.po';
+      $filepath = $result_directory . '/' . $filename;
+      file_put_contents($filepath, $output);
+
+      $files[$language][$group] = array('filename' => $filename, 'filepath' => $filepath);
+
+      drush_log(dt("Wrote .po file @file for @language - @group", array('@file' => $filepath, '@language' => $language_name, '@group' => $group_name)), 'ok');
+    }
+  }
+  return $files;
+}
+
+/**
+ * Command callback. Imports a Drupal textgroups in a set language.
+ */
+function drush_locale_import($filename, $language, $group) {
+  $mode = drush_get_option('import-mode', LOCALE_IMPORT_OVERWRITE);
+  $languages = language_list('language');
+
+  if (!isset($languages[$language])) {
+    drush_log(dt("Language @language does not exist in your Drupal setup.", array('@language' => $language)), 'error');
+    return;
+  }
+
+  // Store the dump into managed files table.
+  $input = file_get_contents($filename);
+  $input && $file = file_save_data($input);
+
+  // Import file into Drupal.
+  drush_log(dt("Importing po file @file into @language - @group.", array('@file' => $filename, '@language' => $language, '@group' => $group)), 'status');
+  if($file && _locale_import_po($file, $language, $mode, $group)) {
+    // Output logs, otherwise they will all be shown on the end of the drush call.
+    _drush_log_drupal_messages();
+  }
+  else {
+    drush_log(dt("Po file @file failed to import into your Drupal installation.", array('@file' => $filename)), 'error');
+  }
+  $file && file_delete($file);
+}
+
+/**
+ * Command callback. Sync Drupal locales.
+ */
+function drush_locale_sync($source = NULL, $destination = NULL) {
+  drush_print(dt("You will overwrite the locale data from @destination with locale data from @source.", array('@destination' => $destination, '@source' => $source)));
+  if (!drush_confirm(dt('Do you really want to continue?'))) {
+    return drush_user_abort();
+  }
+  require_once DRUSH_BASE_PATH . '/commands/core/rsync.core.inc';
+
+  $additional_options = array();
+
+  // Get remote tmp directory.
+  $source_settings = drush_sitealias_evaluate_path($source . ':%temp', $additional_options, FALSE, "rsync", 'source-');
+
+  $date = gmdate('Ymd_his');
+
+  // Set remote dump directory.
+  $source_dump_directory = $source_settings['path-aliases']['%temp'] . '/' . $date;
+
+  // Set rsync remote dump directory.
+  $source_path = $source_settings['evaluated-path'] . '/' . $date;
+
+  // Create dump.
+  $result = drush_invoke_process($source, 'locale-dump', $additional_options, array('result-directory' => $source_dump_directory), array('integrate' => FALSE));
+
+  // Rsync dump.
+  $options = _drush_build_rsync_options($additional_options);
+  drush_core_exec_rsync($source_path, '/tmp', $options);
+
+  $destination_settings = drush_sitealias_evaluate_path($destination . ':%temp', $additional_options, FALSE, "rsync", 'target-');
+
+  // Import dump.
+  $error = FALSE;
+  foreach ($result['object'] as $language_name => $groups) {
+    foreach ($groups as $group_name => $file) {
+      $result = drush_invoke_process($destination, 'locale-import', array('file' => $destination_settings['path'] . '/' . $date . '/' . $file['filename'], 'language' => $language_name, 'group' => $group_name));
+
+      $error |= $result['error_status'] == 1;
+    }
+  }
+
+  !$error && drush_log(dt("Finished syncing the sites locale"), 'ok');
+  $error && drush_log(dt("Syncing the sites locale failed"), 'error');
+}
