Lines Matching refs:language
30 // in a language different than the user language is loaded. It triggers the
50 // language.
53 // Reports to the Google translate server that a page language was incorrectly
90 // Returns the language code that can be used with the Translate method for a
94 // Returns true if |language| is supported by the translation server.
95 static bool IsSupportedLanguage(const std::string& language);
115 // |page_lang| language.
133 // Returns true if the passed language has been configured by the user as an
134 // accept language.
135 bool IsAcceptLanguage(TabContents* tab, const std::string& language);
137 // Initializes the |accept_languages_| language table based on the associated
149 // Returns the language to translate to, which is the language the UI is
150 // configured in. Returns an empty string if that language is not supported