Hello, long time no forum post
I just have a small question regarding keeping my translations organized: How to nest translation variables? Say, I’d like to use the following variable <?= t('label.company_provision') ?>
.
The usual setup works fine, see below. But…
<?php
return [
'label.company_provision' => 'Betriebliche Vorsorge',
'label.order' => 'Bestellen',
But this is how I would like to actually have my translation file organized, but unfortunately it doesn’t work. Why?
<?php
return [
'label' => [
'company_provision' => 'Betriebliche Vorsorge',
'order' => 'Bestellen',
],