Searched refs:preferredLang (Results 1 – 7 of 7) sorted by relevance
194 QString preferredLang = preferredLangs.at(0); in initTranslations() local198 preferredLang.replace('-', '_'); in initTranslations()201 if(preferredLang == "en") in initTranslations()206 qtTranslator->load("qt_" + preferredLang, QLibraryInfo::location(QLibraryInfo::TranslationsPath)); in initTranslations()213 if(myTranslator->load("drawpile_" + preferredLang, datapath + "/i18n")) in initTranslations()
22 $session->set('horde', 'language', $registry->preferredLang($vars->new_lang));
30 $session->set('horde', 'language', $registry->preferredLang());
23 <language>' . $registry->preferredLang() . '</language>
174 NSString *preferredLang = [ languages objectAtIndex:0 ];175 /* preferredLang is either 2 or 5 characters long ("xx" or "xx_YY"). */177 [ preferredLang getCString:retbuf maxLength:32 encoding:NSASCIIStringEncoding ];
652 $language = $registry->preferredLang();
2616 …$this->setLanguageEnvironment(isset($options['language']) ? $this->preferredLang($options['languag…2834 public function preferredLang($lang = null) function in Horde_Registry2906 $lang = $this->preferredLang();