* * EXAMPLES: * * icingacli translation compile icinga de_DE * icingacli translation compile icinga fr_FR */ public function icingaAction() { $locale = $this->validateLocaleCode($this->params->shift()); $helper = new GettextTranslationHelper($this->app, $locale); $helper->compileIcingaTranslation(); } /** * Compile a module domain * * This will compile the PO-file of the given module domain. * * USAGE: * * icingacli translation compile * * EXAMPLES: * * icingacli translation compile monitoring de_DE * icingacli trnslations compile monitoring de_DE */ public function moduleAction() { $module = $this->validateModuleName($this->params->shift()); $locale = $this->validateLocaleCode($this->params->shift()); $helper = new GettextTranslationHelper($this->app, $locale); $helper->compileModuleTranslation($module); } }