code: private function setupTranslateLog()
      {
          $logger = Logger::getLogger('Wedeto.I18n.Translator.Translator');
          $writer = new TranslationLogger($this->app->pathConfig->log . '/translate-%s-%s.pot');
          $logger->addLogWriter($writer);
      }
docs: Set up a logger that stores untranslated messages to a separate pot file.