Lines Matching refs:target_lang
341 request.source_lang, request.target_lang));
345 request.source_lang, request.target_lang);
391 std::string target_lang = GetTargetLanguage();
394 if (target_lang.empty() || !IsSupportedLanguage(page_lang)) {
403 if (!IsTranslatableURL(entry->url()) || page_lang == target_lang ||
432 TranslateInfoBarDelegate::BEFORE_TRANSLATE, tab, page_lang, target_lang));
452 const std::string& target_lang) {
461 source_lang, target_lang);
472 DoTranslatePage(tab_contents, translate_script_, source_lang, target_lang);
484 request.target_lang = target_lang;
531 const std::string& target_lang) {
545 source_lang, target_lang));
655 std::string target_lang =
657 return IsSupportedLanguage(target_lang) ? target_lang : std::string();