I have followed the CEF simple tutorial found at https://bitbucket.org/chromiumembedded/cef/wiki/Tutorial
My question is about changing the language of rendered webpages. I can pass the --lang="de-DE" command line flag to change the locale.
This changed the right click menus but not the rendering language of webpages. When Windows is set to another language, say...fr-FR, the CEF simple app still does not pick up the language and still uses en-US to render (with or without --lang).
I read a few topics on this forum about this but all of them seemed to hard-code languages in CefSettings::AcceptLanguageList.
Screenshot of current behavior with --lang command line parameter - left is Internet Explorer, Right is CEF simple. Windows is set to fr_FR.
Is there a way to make the CEF pick up the language from the operating system or have it be passed in via a command-line argument?
How can you set request.getLocale() to return the Windows language (or passed in command line parameter) rather than the default en_US?
How would this be done?