Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- Overview
- Installation and Deployment
- Getting Started
- Customizing WebView
- Advanced Topics
- EO.Wpf
- Common Topics
- Reference
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: