Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
single_content_sync-3424093
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
single_content_sync-3424093
Commits
19f5c699
Commit
19f5c699
authored
1 year ago
by
Vitalii Podoba
Browse files
Options
Downloads
Patches
Plain Diff
[
#3352413
] Fixed export of the translations
parent
2afd9f43
No related branches found
Branches containing commit
Tags
1.3.13
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ContentExporter.php
+1
-4
1 addition, 4 deletions
src/ContentExporter.php
with
1 addition
and
4 deletions
src/ContentExporter.php
+
1
−
4
View file @
19f5c699
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment