|
Rank: Member Groups: Member
Joined: 1/14/2016 Posts: 28
|
http://www.essentialobjects.com/forum/postst8693_EOWebBrowser-Language-Change.aspx from this post you say " The default value for this property is your current OS language." but in my test the The default value is not my OS language. always English .. and is there any idea to set Accept-Language for all webview like engine level ? The default value for this property is my current OS language is better!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
The default language is taken from System.Threading.Thread.CurrentThread.CurrentUICulture.Name. You can check that property in your application and see what value you get.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 9/4/2015 Posts: 6
|
This seems to be broken in the last version of EO.Browser. For us it was russian (correct locale) language before we upgraded to the last version. Now it's english. To fix it, we explicitly use EO.WebBrowser.Runtime.UILanguage = "ru";
|
|
Rank: Advanced Member Groups: Member
Joined: 7/21/2014 Posts: 130
|
Hi,
In fact, since the 2015.3.16.2 release the EO WeBBrowser Language UI not taken System.Threading.Thread.CurrentThread.CurrentUICulture.Name, and we need to force it.
For example, for French UI we need to write
EO.WebBrowser.Runtime.UILanguage = "fr";
System.Threading.Thread.CurrentThread.CurrentUICulture.Name return "fr-FR" for French OS.
Works wells in releases before 2015.3.16.2
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have confirmed this to be an issue and posted a new build that should fix this. Please download the new build (2015.4.0.0) from our download page and let us know how it goes.
Thanks!
|
|