0

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.

0

1 Answer 1

1

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. DisplayInGerman

And the context menu:

ContextMenu

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.