/** * Set the path(s) to the file(s) containing the translation table(s) to be used. A translation table is an associative array of message ids => translated messages. * * @param string $path The full path to the regular translation file. * @param string $path_default The path to a backup translation file, when a message id cannot be found in the regular translation table. * @return MessageStream this MessageStream object. */ public function setTranslationTable($path, $path_default = null) { $this->_message_translator->setTranslationTable($path); if ($path_default) { $this->_message_translator->setDefaultTable($path_default); } return $this; }