Method
WPEWebKitWebContextset_preferred_languages
Declaration [src]
void
webkit_web_context_set_preferred_languages (
WebKitWebContext* context,
const gchar* const* languages
)
Description [src]
Set the list of preferred languages.
Set the list of preferred languages, sorted from most desirable to least desirable. The list will be used in the following ways:
- Determining how to build the
Accept-LanguageHTTP header that will be included in the network requests started by theWebKitWebContext. - Setting the values of
navigator.languageandnavigator.languages. - The first item in the list sets the default locale for JavaScript
Intlfunctions.