Lines Matching refs:lc
189 $lc = $this->helper->getLangPart($id);
191 $lc = $_SESSION[DOKU_COOKIE]['translationlc'];
195 if(!$lc) return;
197 $conf['lang'] = $lc;
198 $event->data = $lc;
211 $lc = $this->helper->getBrowserLang();
212 if(!$lc) $lc = $conf['lang'];
213 $this->_redirect($lc.':'.$conf['start']);
223 $lc = $this->helper->getLangPart($ID);
227 $_SESSION[DOKU_COOKIE]['translationlc'] = $lc;
229 if(!$lc) $lc = $_SESSION[DOKU_COOKIE]['translationlc'];
230 if(!$lc) return;
231 $this->locale = $lc;
237 if(file_exists(DOKU_INC . 'inc/lang/' . $lc . '/lang.php')) {
238 require(DOKU_INC . 'inc/lang/' . $lc . '/lang.php');
241 $conf['lang'] = $lc;