-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Localized string key in generated .editorconfig #39602
Comments
I found what was problem. roslyn/src/Workspaces/Core/Portable/Options/EditorConfig/EditorConfigFileGenerator.cs Lines 93 to 94 in a1533f0
Here gets options by local language. And it's serializedNameMap was used into raw string. roslyn/src/Workspaces/Core/Portable/Options/EditorConfig/EditorConfigFileGenerator.cs Lines 123 to 125 in a1533f0
|
From dotnet#39602 Naming styles parts in .editorconfig contains localized **key**. `serializedNameMap` should be English, not localized language.
I submitted a PR here. |
The localized strings appearing in keys and values are taken from user-modifiable content in the UI. Even if we account for all the default cases, it will be impossible to account for cases where the user has modified options prior to generating the .editorconfig file. |
Right, it was because just default generated keys are in localized language and also sample identifiers are. All codes-stuffs are my mistakes, I closed my PR. |
@20chan This has been reported a few times now. I'm going to check with one of our localization team members and see if there is anything else we can do to improve the experience. |
Version Used:
Visual Studio 2019 16.3.6, Korean, C#
Steps to Reproduce:
Expected Behavior:
Only localized strings in comments.
Actual Behavior:
Key and value contains localized strings.
full .editorconfig: gist
The text was updated successfully, but these errors were encountered: