I have a structure field which I always want to show in a certain language because the content is identical in both languages.
I already used translate: false
in my blueprint to make this field read only in another language but how can I render this field always in the default language (de)?
This is my structure field:
veroeffentlichungen:
label: Einträge
type: structure
translate: false
columns:
veroAuthor:
width: 1/4
veroDescription:
width: 3/4
fields:
veroAuthor:
label: AutorIn
type: text
width: 1/4
veroDescription:
label: Beschreibung
type: textarea
buttons: false
My html/php markup:
$veros = $page->veroeffentlichungen()->toStructure();
<?php if ($veros->isNotEmpty()): ?>
<?php foreach($veros as $item): ?>
<li class="pl-item">
<p>
<span class="caps"><?= $item->veroAuthor() ?></span>, <?= $item->veroDescription() ?>
</p>
</li>
<?php endforeach ?>
<?php endif; ?>
I already tried something like $verosDe = $veros->translation('de')
, $verosDe = $veros->translate('de')