Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing the VSCode display language to webview. #207178

Closed
amitsgaba opened this issue Mar 8, 2024 · 3 comments
Closed

Passing the VSCode display language to webview. #207178

amitsgaba opened this issue Mar 8, 2024 · 3 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@amitsgaba
Copy link

We can detect the vscode display language using vscode.env.language. When we try to load any page in vscode webview it is still displaying the page in english even though my vscode.env.language is French.

How can we have this vscode display language passed to webview so that webview browser considers the display language and renders page in french language.

Basically we want the navigator.language field to have the vscode env language.

@gjsjohnmurray
Copy link
Contributor

See also #206547

@gjsjohnmurray
Copy link
Contributor

/duplicate of #207071

@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 8, 2024
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants