private function setContaoLanguageDirectory(InputInterface $input, OutputInterface $output)
    {
        $this->ctolang = $input->getOption('contao');

        if ($this->ctolang === null) {
            $this->ctolang = $this->getTransifexConfigValue('/languages_cto');

            if ($this->ctolang === null) {
                throw new \RuntimeException('Error: unable to determine contao language root folder.');
            }
            $this->writelnVerbose(
                $output,
                sprintf('<info>automatically using Contao language folder: %s</info>', $this->ctolang)
            );
        }
    }
private function setContaoLanguageDirectory(InputInterface $input, OutputInterface $output)
    {
        $this->ctolang = $input->getOption('contao');

        if ($this->ctolang === null) {
            $this->ctolang = $this->getTransifexConfigValue('/languages_cto');

            if ($this->ctolang === null) {
                throw new \RuntimeException('Error: unable to determine contao language root folder.');
            }
            $this->writelnVerbose(
                $output,
                sprintf('<info>automatically using Contao language folder: %s</info>', $this->ctolang)
            );
        }
    }
private function setContaoLanguageDirectory ( InputInterface $ input , OutputInterface $ output ) { $ this -> ctolang = $ input -> getOption ( 'contao' ) ; if ( $ this -> ctolang === null ) { $ this -> ctolang = $ this -> getTransifexConfigValue ( '/languages_cto' ) ; if ( $ this -> ctolang === null ) { throw new \ RuntimeException ( 'Error: unable to determine contao language root folder.' ) ; } $ this -> writelnVerbose ( $ output , sprintf ( '<info>automatically using Contao language folder: %s</info>' , $ this -> ctolang ) ) ; } }
Set the contao language file directory, either from command line parameter or from config.

@param InputInterface  $input  The input to use.

@param OutputInterface $output The output to use.

@return void

@throws \RuntimeException When the value can not be determined.
Set the contao language file directory either from command line parameter or from config .