Welcome Guest Search | Active Topics | Sign In | Register

Default.UILanguage default value is not my current OS language. Options
lsl
Posted: Sunday, January 31, 2016 9:13:54 PM
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!
eo_support
Posted: Sunday, January 31, 2016 9:28:16 PM
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!
Alexey Maksimov
Posted: Tuesday, February 2, 2016 4:55:47 AM
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";
Fabien
Posted: Tuesday, February 2, 2016 10:06:20 AM
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
eo_support
Posted: Thursday, February 4, 2016 2:44:04 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.