MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Unable to set Language on WPF WebView2 when using PRISM
@champnic is already working on this.
Since Apr 10, 2021.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
We use WebView2 in one of our WPF project. In this project, we use PRISM to manage navigation, view caching, events...
We also have an event triggered when a user change his current language.
But when this event is fired, I try to implement the change of the Language on the WebView2 but it isn't applied (the property Language of the component iw updated but event after a refresh on the component, webpage stay on the previous language. I have to restart my application in order to use the correct language.
With others WPF components, event if they are cached with PRISM mechanism, if we change the Language property, it is applied on the fly.
Is there a way to update immediatly the Language in my case ?
Thanks for you reply.
Ingrid
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.