Override accept_language_list via CefRequestContextSettings

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Override accept_language_list via CefRequestContextSettings

Postby finder2 » Sat May 01, 2021 3:37 am

I need to change accept language before each site get loaded without re-launching browser itself.
I use CEF 4147 at the moment.

I can see in cef_types.h that accept_language_list can be overridden for individual CefRequestContext instances.
How can I implement that?

I'm trying to figure it out and can see that CefRequestContext can be via specified via CefURLRequest.
Does anybody have an example of that implementation or and advice?
Posts: 14
Joined: Fri Jun 13, 2014 1:33 am

Return to Support Forum

Who is online

Users browsing this forum: olzzen and 17 guests