Lines Matching refs:lc
192 $lc = $this->helper->getLangPart($id);
194 $lc = $_SESSION[DOKU_COOKIE]['translationlc'];
198 if(!$lc) return;
200 $conf['lang'] = $lc;
201 $event->data = $lc;
214 $lc = $this->helper->getBrowserLang();
215 if(!$lc) $lc = $conf['lang'];
216 $this->_redirect($lc.':'.$conf['start']);
226 $lc = $this->helper->getLangPart($ID);
230 $_SESSION[DOKU_COOKIE]['translationlc'] = $lc;
232 if(!$lc) $lc = $_SESSION[DOKU_COOKIE]['translationlc'];
233 if(!$lc) return;
234 $this->locale = $lc;
240 if(file_exists(DOKU_INC . 'inc/lang/' . $lc . '/lang.php')) {
241 require(DOKU_INC . 'inc/lang/' . $lc . '/lang.php');
244 $conf['lang'] = $lc;