cefclient always loading "en-US" locale

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.

cefclient always loading "en-US" locale

Postby jugal129 » Wed Apr 16, 2014 3:04 pm

Hi,

I am using cefclient in the release cef_binary_3.1650.1562_windows64.

I am trying to set the settings as CefString(&settings.locale) = "ja-JP";

I do have the locale directory present in the location of the executable.

When I try to load some local JS files it always shows up in English. I checked the navigator.language and it is always en-US.

How ever the linux version does change the language to Japanese without setting the locale as mentioned in the Readme.txt

Is there anything else I need to do? Any pointer will be greatly appreciated.
Thanks.
jugal129
Newbie
 
Posts: 1
Joined: Mon Apr 14, 2014 3:55 pm

Re: cefclient always loading "en-US" locale

Postby magreenblatt » Wed Apr 16, 2014 7:11 pm

Does the locale get set correctly if you run:
Code: Select all
cefclient.exe --lang=ja-JP
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 45 guests