original_string: private function _loadTranslations($sLanguage, $sPrefix, array $aTranslations)
      {
          foreach($aTranslations as $sName => $xTranslation)
          {
              $sName = trim($sName);
              $sName = ($sPrefix) ? $sPrefix . '.' . $sName : $sName;
              if(!is_array($xTranslation))
              {
                  // Save this translation
                  $this->aTranslations[$sLanguage][$sName] = $xTranslation;
              }
              else
              {
                  // Recursively read the translations in the array
                  $this->_loadTranslations($sLanguage, $sName, $xTranslation);
              }
          }
      }
code: private function _loadTranslations($sLanguage, $sPrefix, array $aTranslations)
      {
          foreach($aTranslations as $sName => $xTranslation)
          {
              $sName = trim($sName);
              $sName = ($sPrefix) ? $sPrefix . '.' . $sName : $sName;
              if(!is_array($xTranslation))
              {
                  // Save this translation
                  $this->aTranslations[$sLanguage][$sName] = $xTranslation;
              }
              else
              {
                  // Recursively read the translations in the array
                  $this->_loadTranslations($sLanguage, $sName, $xTranslation);
              }
          }
      }
code_tokens: private function _loadTranslations ( $ sLanguage , $ sPrefix , array $ aTranslations ) { foreach ( $ aTranslations as $ sName => $ xTranslation ) { $ sName = trim ( $ sName ) ; $ sName = ( $ sPrefix ) ? $ sPrefix . '.' . $ sName : $ sName ; if ( ! is_array ( $ xTranslation ) ) { // Save this translation $ this -> aTranslations [ $ sLanguage ] [ $ sName ] = $ xTranslation ; } else { // Recursively read the translations in the array $ this -> _loadTranslations ( $ sLanguage , $ sName , $ xTranslation ) ; } } }
docstring: Recursively load translated strings from a array
  
  @param string            $sLanguage            The language of the translations
  @param string            $sPrefix              The prefix for names
  @param array             $aTranslations        The translated strings
  
  @return void
docstring_tokens: Recursively load translated strings from a array