You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
User facing messages/warnings/errors should be localized, and documented #79173
changed the title [-]User facing messages/warnings/errors should be localized[/-][+]User facing messages/warnings/errors should be localized, and documented[/+]on Dec 2, 2022
Yes. E.g. users can suppress specific warnings using the codes. What's more, codes should be unique for a given string, so we can use them as keys for localization.
Compilation errors are documented here and only them. Aspnetcore codes are documented in their repo here and this looks like a good pattern. To keep it simple, I would create same-named doc in the corresponding location in runtime repo: https://github.com/dotnet/runtime/tree/main/docs
Activity
[-]User facing messages/warnings/errors should be localized[/-][+]User facing messages/warnings/errors should be localized, and documented[/+]ilonatommy commentedon May 17, 2024
My plan, please let me know if it can be improved:
https://github.com/dotnet/runtime/tree/1df411180b30546cf58426d18b1c86b704f0753a/src/libraries/Microsoft.CSharp/src/MultilingualResources
https://github.com/dotnet/runtime/tree/1df411180b30546cf58426d18b1c86b704f0753a/src/libraries/System.Runtime.InteropServices/gen/Common/Resources/xlf
but some of them e just keep in English version as resources, no translations:
https://github.com/dotnet/runtime/blob/1df411180b30546cf58426d18b1c86b704f0753a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
https://github.com/dotnet/runtime/tree/main/docsilonatommy commentedon Jun 3, 2024
Connected issue: #85067