translator = new TranslationHelper( $this->application, $this->params->get('locale', 'C'), $this->params->get('module', 'monitoring') // bullshit. NULL? ); } /** * Refresh translation catalogs * * Extracts all translatable strings for a given module (or core) from the * Icingaweb source code, adds those to the existing catalog for the given * locale and marks obsolete translations. * * Usage: icingaweb translation refresh --module --locale */ public function refreshAction() { $this->translator->createTemporaryFileList()->extractTexts(); } }