original_string: public function translateOrFirst($locale = null)
      {
          $translation = $this->translate($locale, true);
  
          if ( ! $translation)
          {
              $translation = $this->translations->first();
          }
  
          return $translation;
      }
code: public function translateOrFirst($locale = null)
      {
          $translation = $this->translate($locale, true);
  
          if ( ! $translation)
          {
              $translation = $this->translations->first();
          }
  
          return $translation;
      }
code_tokens: public function translateOrFirst ( $ locale = null ) { $ translation = $ this -> translate ( $ locale , true ) ; if ( ! $ translation ) { $ translation = $ this -> translations -> first ( ) ; } return $ translation ; }
docstring: Get source or fallback to first found translation
  
  @param string|null $locale
  @return NodeSource
docstring_tokens: Get source or fallback to first found translation