Hallo TS,
Wo sollen die Daten gespeichert werden?
in abrufbaren Dantenbanken oder arrays
$data = [
'welcome' => [
'en' => "<strong>welcome</strong> ...",
'de' => "<strong>Willkommen</strong> ...",
]
]
<article
<section>
<?php $data[ 'welcome' ][ 'de' ] ?>
</section>
</article>
oder in meinen augen noch verzettelter...
$data = [
'welcome' => [
'en' => "<article><section><strong>welcome</strong> ...</section></article>",
'de' => "<article><section><strong>Willkommen</strong> ...</section></article>",
]
]
<?php $data[ 'welcome' ][ 'de' ] ?>