diff --git a/bootstrap.php b/bootstrap.php index 5be2b04f..404e5433 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -80,7 +80,13 @@ function tr(string $stringId, ...$variables): string } $newOutput = $localizer->_($numberedStringId, $lang); - $output = $newOutput === "@$numberedStringId" ? $output : $newOutput; + if($newOutput === "@$numberedStringId") { + $newOutput = $localizer->_($stringId . "_other", $lang); + if($newOutput === ("@" . $stringId . "_other")) + $newOutput = $output; + } + + $output = $newOutput; } for($i = 0; $i < sizeof($variables); $i++)