Skip to content

10 · Event details config page is exported without default_langcode

Project Summit (site template)
Component Default content
Category Bug report
Priority Minor
Status Reported upstream as #3612845

Problem/Motivation

content/config_pages/73de0808-f86d-4fa3-944f-1f1d7f6eac72.yml (Event Details) has no default_langcode in _meta. It is imported as language-neutral (und). Tools that localise default content (Default Content Locale) skip such entities, so its texts – e.g. the "All the details" button – stay English on a translated site.

Steps to reproduce

  1. Look at the _meta section of the file: default_langcode is missing, unlike all other content of the template.

Proposed resolution

Re-export the config page with default_langcode: en.

Copy to drupal.org

Issue title:

Event details config page is exported without default_langcode

Issue summary (paste it into the "Issue summary" field; project, component, category and priority are in the table above):

<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p><code>content/config_pages/73de0808-f86d-4fa3-944f-1f1d7f6eac72.yml</code> (Event Details) has no <code>default_langcode</code> in <code>_meta</code>. It is imported as language-neutral (<code>und</code>). Tools that localise default content (Default Content Locale) skip such entities, so its texts – e.g. the "All the details" button – stay English on a translated site.</p>
<h3 id="summary-steps-reproduce">Steps to reproduce</h3>
<ol>
<li>Look at the <code>_meta</code> section of the file: <code>default_langcode</code> is missing, unlike all other content of the template.</li>
</ol>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Re-export the config page with <code>default_langcode: en</code>.</p>