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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Re: Chnage default language browser

Post Reply
User avatar
salvadordf
Posts: 4571
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Chnage default language browser

Post by salvadordf »

Hi,

To set the interface language set the GlobalCEFApp.Locale property with the language code of your choice.
To change the preferred language of the web pages set GlobalCEFApp.AcceptLanguageList or TChromium.Options.AcceptLanguageList

The GlobalCEFApp properties must be set before the GlobalCEFApp.StartMainProcess call in the DPR file.
The TChromium.Options properties must be set before the TChromium.CreateBrowser call.
Post Reply