Reputation: 1
I have a diy webbrowser (WebConnect for Windows) and it is running on the Edge WebView2. I would like to change the language of the microsoft edge webview. For example that the context menu, the download dialog and everything else is showing up in a specific language.
Sorry for my bad english i am a german user.
I did some research and the only thing I found out was that I can do this directly in the language settings via Windows (I use Windows 11 v24h2) or in edge (which didn't work). I tried it also with JavaScript.
Upvotes: 0
Views: 39
Reputation: 3106
You can actually set WebView2 browser flags, and the flag you need is lang
. For example, I specify --lang=de
under WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS
, so WebView2 will display UIs in German.
And the context menu:
Upvotes: 1