35 · Copyright component ignores its props, footer line cannot be edited or translated¶
| Project | Convene Theme |
| Component | Components |
| Category | Bug report |
| Priority | Normal |
| Status | Draft, not filed on drupal.org yet |
Problem/Motivation¶
components/copyright/copyright.component.yml defines the props text, company_link and suffix ("Editable copyright text for the footer."), but components/copyright/copyright.twig does not use them:
<div class="copyright-component">
© 2026 <a href="https://opensenselabs.com/" target="_blank">OpenSense Labs</a>. Crafted together with the community.
</div>
Anything entered in Canvas is ignored, so site builders cannot change the footer line, and a translated site always shows "Crafted together with the community." in English.
Steps to reproduce¶
- Install Drupal CMS in German with the Convene site template.
- Open any page: the footer shows "© 2026 OpenSense Labs. Crafted together with the community."
- Edit the copyright component in Canvas and change the suffix: nothing changes on the page.
Proposed resolution¶
Render the props:
<div class="copyright-component">
{{ text }} <a href="../{{ company_link.uri }}" target="_blank">{{ company_link.title }}</a>. {{ suffix }}
</div>
At the very least wrap the hard-coded sentence in |t.
Copy to drupal.org
Issue title:
Copyright component ignores its props, footer line cannot be edited or translated
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>components/copyright/copyright.component.yml</code> defines the props <code>text</code>, <code>company_link</code> and <code>suffix</code> ("Editable copyright text for the footer."), but <code>components/copyright/copyright.twig</code> does not use them:</p>
<code><div class="copyright-component">
© 2026 <a href="https://opensenselabs.com/" target="_blank">OpenSense Labs</a>. Crafted together with the community.
</div></code>
<p>Anything entered in Canvas is ignored, so site builders cannot change the footer line, and a translated site always shows "Crafted together with the community." in English.</p>
<h3 id="summary-steps-reproduce">Steps to reproduce</h3>
<ol>
<li>Install Drupal CMS in German with the Convene site template.</li>
<li>Open any page: the footer shows "© 2026 OpenSense Labs. Crafted together with the community."</li>
<li>Edit the copyright component in Canvas and change the suffix: nothing changes on the page.</li>
</ol>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Render the props:</p>
<code><div class="copyright-component">
{{ text }} <a href="{{ company_link.uri }}" target="_blank">{{ company_link.title }}</a>. {{ suffix }}
</div></code>
<p>At the very least wrap the hard-coded sentence in <code>|t</code>.</p>