Hello,
What are the valid formats to use on this parameter ?
For instance, something like this ?
GlobalCEFApp.AcceptLanguageList := 'en-US,en-GB';
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
About GlobalCEFApp.AcceptLanguageList
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: About GlobalCEFApp.AcceptLanguageList
These are the code comments for that property :
https://bitbucket.org/chromiumembedded/cef/src/master/include/internal/cef_types.h#lines-406
That property is used by Chromium to send the Accept-Language HTTP header :
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language
Chromium is known to use a modified version of that property to send the Accept-Language HTTP header.
Read this thread to see some examples :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=1401
Code: Select all
///
// Comma delimited ordered list of language codes without any whitespace that
// will be used in the "Accept-Language" HTTP header. May be overridden on a
// per-browser basis using the CefBrowserSettings.accept_language_list value.
// If both values are empty then "en-US,en" will be used. Can be overridden
// for individual CefRequestContext instances via the
// CefRequestContextSettings.accept_language_list value.
///
That property is used by Chromium to send the Accept-Language HTTP header :
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language
Chromium is known to use a modified version of that property to send the Accept-Language HTTP header.
Read this thread to see some examples :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=1401