src/phpDocumentor/Translator/Translator.php
public function addTranslations($filename, $locale = self::DEFAULT_LOCALE, $textDomain = self::DEFAULT_DOMAIN)
    {
        parent::addTranslationFile(self::TRANSLATION_FILE_TYPE, $filename, $textDomain, $locale);

        $this->messages = array();

        return $this;
    }
public function addTranslations($filename, $locale = self::DEFAULT_LOCALE, $textDomain = self::DEFAULT_DOMAIN)
    {
        parent::addTranslationFile(self::TRANSLATION_FILE_TYPE, $filename, $textDomain, $locale);

        $this->messages = array();

        return $this;
    }
public function addTranslations ( $ filename , $ locale = self :: DEFAULT_LOCALE , $ textDomain = self :: DEFAULT_DOMAIN ) { parent :: addTranslationFile ( self :: TRANSLATION_FILE_TYPE , $ filename , $ textDomain , $ locale ) ; $ this -> messages = array ( ) ; return $ this ; }
Adds a translation file for a specific locale, or the default locale when none is provided.

@param string      $filename   Name of the file to add.
@param string|null $locale     The locale to assign to, matches
{@link http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO-639-1} and defaults to en (English).
@param string      $textDomain Translations may be divided into separate files / domains; this represents in
which domain the translation should be.

@api

@return $this
Adds a translation file for a specific locale or the default locale when none is provided .