I've a multilanguage site, with Italian set as default and English as secondary language.
When exporting the configuration via drush - drush cex
command - sometimes the labels of other kind of content is exported, but the only actual difference is the change of language.
This happens often with a lot of views.
For example, for views.view.who_s_online.yml
the difference is:
@@ -41,7 +41,7 @@ display:
submit_button: Apply
reset_button: false
reset_button_label: Reset
- exposed_sorts_label: 'Sort by'
+ exposed_sorts_label: 'Ordina per'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
But there are other settings, for the "en" translation that sometimes differs only for the translation.
E.g. for en\field.field.node.article.body.yml
the difference is:
@@ -1,0 +1,0 @@
- label: Abstract
+ label: Body
This is frustating because I often have to check a lot of files with no real difference. For some is actually dangerous as e.g. en\addtoany.settings.yml
keeps to lose its settings during the export.
When this happens I've tried both to commit the exported files with just the language differences, or to discard them and to import the configuration (drush cim
).
Neither of the solution are working long-term, as the problem appears again after a bit.
I've checked for possible issues on the drupal issue queue but found nothing. Any help?