original_string: public function availableLocales()
      {
          $locales = $this->getCore()->config('locale.translation-locales');
  
          if (is_array($locales)) {
              return $locales;
          }
  
          return $this->getLocaleRepository()->getAvailable();
      }
code: public function availableLocales()
      {
          $locales = $this->getCore()->config('locale.translation-locales');
  
          if (is_array($locales)) {
              return $locales;
          }
  
          return $this->getLocaleRepository()->getAvailable();
      }
code_tokens: public function availableLocales ( ) { $ locales = $ this -> getCore ( ) -> config ( 'locale.translation-locales' ) ; if ( is_array ( $ locales ) ) { return $ locales ; } return $ this -> getLocaleRepository ( ) -> getAvailable ( ) ; }
docstring: Returns list of locales available for content transla
  
  @return string[]
docstring_tokens: Returns list of locales available for content transla