original_string: public function loadTranslations($sFilePath, $sLanguage)
      {
          if(!file_exists($sFilePath))
          {
              return;
          }
          $aTranslations = require($sFilePath);
          if(!is_array($aTranslations))
          {
              return;
          }
          // Load the translations
          if(!array_key_exists($sLanguage, $this->aTranslations))
          {
              $this->aTranslations[$sLanguage] = [];
          }
          $this->_loadTranslations($sLanguage, '', $aTranslations);
      }
code: public function loadTranslations($sFilePath, $sLanguage)
      {
          if(!file_exists($sFilePath))
          {
              return;
          }
          $aTranslations = require($sFilePath);
          if(!is_array($aTranslations))
          {
              return;
          }
          // Load the translations
          if(!array_key_exists($sLanguage, $this->aTranslations))
          {
              $this->aTranslations[$sLanguage] = [];
          }
          $this->_loadTranslations($sLanguage, '', $aTranslations);
      }
code_tokens: public function loadTranslations ( $ sFilePath , $ sLanguage ) { if ( ! file_exists ( $ sFilePath ) ) { return ; } $ aTranslations = require ( $ sFilePath ) ; if ( ! is_array ( $ aTranslations ) ) { return ; } // Load the translations if ( ! array_key_exists ( $ sLanguage , $ this -> aTranslations ) ) { $ this -> aTranslations [ $ sLanguage ] = [ ] ; } $ this -> _loadTranslations ( $ sLanguage , '' , $ aTranslations ) ; }
docstring: Load translated strings from a file
  
  @param string        $sFilePath            The file full path
  @param string        $sLanguage            The language of the strings in this file
  
  @return void
docstring_tokens: Load translated strings from a file