Table of Contents
Localization

EO.WebBrowser is fully localized for more than 40 languages. By default, EO.WebBrowser uses the same UI language of the calling thread of your application (using value of System.Threading.Thread.CurrentThread.CurrentUICulture.Name). To instruct EO.WebBrowser to use a different language, you can set EO.WebEngine.EngineOptions.UILanguage to:

  • A two lower case letter ISO 639-1 language code. For example, you can set it to "fr" to instruct EO.WebBrowser to use French for all UI messages;
  • In case a language can have multiple variations, you can use four letter culture name in the format languagecode2-country/regioncode2. For example, "en-US" for U.S. English, and "en-GB" for United Kingdom English.

You can find a complete list of two letter or four letter code here (not all languages in that list are supported by EO.WebBrowser, but all major languages are supported. In case you set UILanguage to a language that is not supported, U.S. English will be used).

The following code set the UI language to Spanish:

//Force EO.WebBrowser to use Spanish UI messages
EO.WebEngine.EngineOptions.Default.UILanguage = "es";