Skip to content
Snippets Groups Projects
Commit 19f5c699 authored by Vitalii Podoba's avatar Vitalii Podoba
Browse files

[#3352413] Fixed export of the translations

parent 2afd9f43
No related branches found
Tags 1.3.13
No related merge requests found
......@@ -233,10 +233,7 @@ class ContentExporter implements ContentExporterInterface {
// Extract translations.
if ($this->extractTranslationsMode && $entity->isTranslatable()) {
$translations = $entity->getTranslationLanguages();
// Exclude the default language from the translations.
unset($translations[$this->languageManager->getDefaultLanguage()->getId()]);
$translations = $entity->getTranslationLanguages(FALSE);
if (count($translations)) {
foreach ($translations as $language) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment