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

VSTest v17.2.0 on macOS does not respect DOTNET_CLI_UI_LANGUAGE = 'zh-TW'. #3785

Closed
ShikiSuen opened this issue Jun 20, 2022 · 7 comments · Fixed by #3802
Closed

VSTest v17.2.0 on macOS does not respect DOTNET_CLI_UI_LANGUAGE = 'zh-TW'. #3785

ShikiSuen opened this issue Jun 20, 2022 · 7 comments · Fixed by #3802
Assignees
Labels

Comments

@ShikiSuen
Copy link

ShikiSuen commented Jun 20, 2022

When I tried adding the nushell environment variable `DOTNET_CLI_UI_LANGUAGE = 'zh-TW', the dotnet CLI successfully turned into Traditional Chinese. However, VSTest doesn't, and is in Simplified Chinese.

VSTest version: 17.2.0.

It is obvious to see DOTNET_CLI_UI_LANGUAGE malfunctions since the highlighted line:
(Yellow texts are my Console.Writeline-generated texts which are not related to this issue.)
image

@ShikiSuen
Copy link
Author

Related issue: #821

@Evangelink Evangelink self-assigned this Jun 20, 2022
@Evangelink
Copy link
Member

@ShikiSuen Sorry I am not super familiar with Chinese. Are you saying it's falling back to zh-Hant instead of zh-Hans?

@ShikiSuen
Copy link
Author

@Evangelink It's showing zh-Hans in lieu of the specified zh-Hant.
I am not sure whether this is a fallback behavior or another type of mistake.

@Evangelink
Copy link
Member

I will have a look, thanks for the clarification!

@ShikiSuen ShikiSuen changed the title The latest stable VSTest at this moment on macOS does not respect DOTNET_CLI_UI_LANGUAGE = 'zh-TW'. VSTest v17.2.0 at this moment on macOS does not respect DOTNET_CLI_UI_LANGUAGE = 'zh-TW'. Jun 20, 2022
@ShikiSuen ShikiSuen changed the title VSTest v17.2.0 at this moment on macOS does not respect DOTNET_CLI_UI_LANGUAGE = 'zh-TW'. VSTest v17.2.0 on macOS does not respect DOTNET_CLI_UI_LANGUAGE = 'zh-TW'. Jun 20, 2022
@Evangelink
Copy link
Member

@ShikiSuen I think I have found and fixed the issue, could you please confirm that the following output is the one you would expect?

image

@ShikiSuen
Copy link
Author

@Evangelink It looks like the issue has gone.

@ShikiSuen
Copy link
Author

Thanks for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants