protected function multiLevelTrans(array $message, array $texts): string {
    $text = $texts;
    foreach($message as $part) {
      $text = Arrays::get($text, $part, "");
      if($text === "") {
        break;
      }
    }
    return $text;
  }
protected function multiLevelTrans(array $message, array $texts): string {
    $text = $texts;
    foreach($message as $part) {
      $text = Arrays::get($text, $part, "");
      if($text === "") {
        break;
      }
    }
    return $text;
  }
protected function multiLevelTrans ( array $ message , array $ texts ) : string { $ text = $ texts ; foreach ( $ message as $ part ) { $ text = Arrays :: get ( $ text , $ part , "" ) ; if ( $ text === "" ) { break ; } } return $ text ; }
Translate multi-level message
Translate multi - level message