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.

Change default locale

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

Re: Change default locale

Post by salvadordf »

Hi,

You can set a custom locale in GlobalCEFApp.Locale before calling GlobalCEFApp.StartMainProcess
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Change default locale

Post by salvadordf »

I've never tried it but perhaps you can set a new Accept-Language HTTP header with a different locale.

Use the TChromium.CustomHeaderName and TChromium.CustomHeaderValue properties.
Post Reply