>>100157238
I store all my text in a single PHP array that looks something like this
$text = [
"hello" => [
"en" => "hello",
"fr" => "salut",
"de" => "hallo“
],
"bye" => [
"en" => "bye",
"fr" => "au revoir",
"de" => "tschuss“
];
and then call it with
echo $text["hello“][$lang];
How bad is that approach?