Home
last modified time | relevance | path

Searched refs:sourceLang (Results 1 – 17 of 17) sorted by relevance

/dports/www/tikiwiki/tiki-21.2/lib/core/Multilingual/MachineTranslation/
H A DBingTranslateWrapper.php15 private $sourceLang; variable in Multilingual_MachineTranslation_BingTranslateWrapper
18 function __construct($clientId, $clientSecret, $sourceLang, $targetLang) argument
22 $this->sourceLang = $sourceLang;
84 if ($this->sourceLang != Multilingual_MachineTranslation::DETECT_LANGUAGE) {
85 $params['from'] = $this->sourceLang;
H A DGoogleTranslateWrapper.php29 private $sourceLang; variable in Multilingual_MachineTranslation_GoogleTranslateWrapper
36 function __construct($key, $sourceLang, $targetLang, $html = true) argument
39 $this->sourceLang = $sourceLang;
144 if ($this->sourceLang != Multilingual_MachineTranslation::DETECT_LANGUAGE) {
145 $params['source'] = $this->sourceLang;
/dports/irc/py-limnoria/Limnoria-master-2019-09-08/plugins/Google/
H A Dplugin.py257 def _translate(self, sourceLang, targetLang, text): argument
262 sourceLang = utils.web.urlquote(sourceLang)
269 '%s' % (sourceLang, targetLang, text),
289 def translate(self, irc, msg, args, sourceLang, targetLang, text): argument
298 (text, language) = self._translate(sourceLang, targetLang, text)
/dports/devel/lokalize/lokalize-21.12.3/src/tm/
H A Dtmmanager.cpp90 sourceLang->setModel(LanguageListModel::instance()->sortModel()); in DBPropertiesDialog()
96sourceLang->setCurrentIndex(LanguageListModel::instance()->sortModelRowForLangCode(Project::instan… in DBPropertiesDialog()
156sourceLang->setCurrentIndex(LanguageListModel::instance()->sortModelRowForLangCode(openDBJob->m_tm… in openJobDone()
192 …ourceLangCode = LanguageListModel::instance()->langCodeForSortModelRow(sourceLang->currentIndex()); in accept()
/dports/www/tikiwiki/tiki-21.2/
H A Dtiki-index.php737 $sourceLang = $pageInfo['lang'];
738 return translate_text($pageContent, $sourceLang, $targetLang);
751 $sourceLang = $pageInfo['lang'];
752 return translate_text($pageContent, $sourceLang, $targetLang, true);
764 function translate_text($text, $sourceLang, $targetLang) argument
767 $translator = $provider->getHtmlImplementation($sourceLang, $targetLang);
/dports/www/tikiwiki/tiki-21.2/lib/core/Services/Language/
H A DUtilities.php23 $sourceLang = $this->getLanguage($type, $source);
29 $out = $multilinguallib->insertTranslation($type, $sourceId, $sourceLang, $targetId, $targetLang);
/dports/audio/rhvoice/RHVoice-1.2.4/src/third-party/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
H A DTestInheritance.java473 String sourceLang = ltp.set(source).getLanguage(); in verifyLikelySubtagsImplicationsForDefaultContents() local
474 if (sourceLang.equals("und") || source.equals("zh_Hani") in verifyLikelySubtagsImplicationsForDefaultContents()
572 String sourceLang = ltp.set(source).getLanguage(); in verifyDefaultContentsImplicationsForLikelySubtags() local
586 String likelyMax2 = likely2Maximized.get(sourceLang); in verifyDefaultContentsImplicationsForLikelySubtags()
611 + (source.equals(sourceLang) ? "" : "\n\t" + sourceLang in verifyDefaultContentsImplicationsForLikelySubtags()
/dports/devel/lokalize/lokalize-21.12.3/src/project/
H A Dproject.h131 const QString& sourceLang, const QString& targetLang);
H A Dproject.cpp340 const QString& sourceLang, const QString& targetLang) in init() argument
345 setKind(kind); setSourceLangCode(sourceLang); setLangCode(targetLang); setProjectID(id); in init()
/dports/textproc/goldendict/goldendict-73ec1b5/
H A Dbgl_babylon.hh195 …inline quint32 sourceLang() const { return m_sourceLang; }//std::string sourceLang() const { retur… in sourceLang() function in Babylon
H A Dbgl.cc1386 …idxHeader.langFrom = b.sourceLang();//LangCoder::findIdForLanguage( Utf8::decode( b.sourceLang() )… in makeDictionaries()
/dports/devel/universal-ctags/ctags-p5.9.20211128.0/main/
H A Dread.c119 static langType sourceLang; variable
260 return sourceLang; in getSourceLanguage()
471 sourceLang = language; in setSourceFileParameters()
787 sourceLang = language; in resetInputFile()
/dports/devel/geany/geany-1.38/ctags/main/
H A Dread.c118 static langType sourceLang; variable
259 return sourceLang; in getSourceLanguage()
467 sourceLang = language; in setSourceFileParameters()
768 sourceLang = language; in resetInputFile()
/dports/devel/geany-legacy/geany-1.37.1/ctags/main/
H A Dread.c111 static langType sourceLang; variable
214 return sourceLang; in getSourceLanguage()
374 sourceLang = language; in setSourceFileParameters()
/dports/devel/cmake-gui/cmake-3.22.1/Source/
H A DcmLocalVisualStudio7Generator.cxx1435 const std::string& sourceLang = lg->GetSourceFileLanguage(sf); in cmLocalVisualStudio7GeneratorFCInfo() local
1438 if (lang != sourceLang) { in cmLocalVisualStudio7GeneratorFCInfo()
1440 lang = sourceLang; in cmLocalVisualStudio7GeneratorFCInfo()
/dports/devel/cmake/cmake-3.22.1/Source/
H A DcmLocalVisualStudio7Generator.cxx1435 const std::string& sourceLang = lg->GetSourceFileLanguage(sf); in cmLocalVisualStudio7GeneratorFCInfo() local
1438 if (lang != sourceLang) { in cmLocalVisualStudio7GeneratorFCInfo()
1440 lang = sourceLang; in cmLocalVisualStudio7GeneratorFCInfo()
/dports/devel/cmake-doc/cmake-3.22.1/Source/
H A DcmLocalVisualStudio7Generator.cxx1435 const std::string& sourceLang = lg->GetSourceFileLanguage(sf); in cmLocalVisualStudio7GeneratorFCInfo() local
1438 if (lang != sourceLang) { in cmLocalVisualStudio7GeneratorFCInfo()
1440 lang = sourceLang; in cmLocalVisualStudio7GeneratorFCInfo()