diff -u b/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php --- b/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleFileImportStatus.php @@ -183,6 +183,7 @@ */ function testDeleteLanguage() { $dir = conf_path() . '/files/translations'; + file_prepare_directory($dir, FILE_CREATE_DIRECTORY); variable_set('locale_translate_file_directory', $dir); $langcode = 'de'; $this->addLanguage($langcode); diff -u b/core/modules/locale/lib/Drupal/locale/TranslationsStream.php b/core/modules/locale/lib/Drupal/locale/TranslationsStream.php --- b/core/modules/locale/lib/Drupal/locale/TranslationsStream.php +++ b/core/modules/locale/lib/Drupal/locale/TranslationsStream.php @@ -20,7 +20,7 @@ * Implements Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath() */ public function getDirectoryPath() { - return variable_get('locale_translate_file_directory', + return variable_get('locale_translate_file_directory', conf_path() . '/files/translations'); }