JetBrains / jcef

A simple framework for embedding Chromium-based browsers into Java-based applications.
Other
227 stars 37 forks source link

Changing Browser Language #10

Closed itzRykon closed 8 months ago

itzRykon commented 2 years ago

Hey,

i tried a few ways to change the Browser Language but its not changing. Thats a snipped out of my code:

    settings = new CefSettings();
    settings.windowless_rendering_enabled = useOSR;
    settings.locale = "de";
    //settings.locale = "de-DE";

    cefApp = CefApp.getInstance(settings);
    CefApp.getInstance(settings);
    client = cefApp.createClient();
    browser = client.createBrowser(startURL, useOSR, isTransparent);

i dont know what is wrong there , i hope there is some help :) , probably im only bit dump and it works easy :D

Thanks guys

ujpv commented 8 months ago

I see that it's a very old question. Probably the corresponding language has to installed to the OS. I'm closing this issue. Feel free to file a bug if the problem takes place.