appcenter-sdk-dotnet icon indicating copy to clipboard operation
appcenter-sdk-dotnet copied to clipboard

Issue with localization of .NET exceptions

Open macmade opened this issue 6 years ago • 14 comments

Description

Standard .NET exception messages are localized.
This is really annoying when it comes to crash reporting.

First of all, it can be difficult to identify issues.
For instance can you guess the following message?

개체 참조가 개체의 인스턴스로 설정되지 않았습니다

I don't... Actually, this is:

Object reference not set to an instance of an object.

It also breaks the grouping of exceptions in the AppCenter portal. Because they are grouped by message, two identical exceptions (with the same stack trace) will appear as different exceptions, simply because users have a different language setup.

This basically renders exceptions grouping useless...

Is there a way with the AppCenter Crashes SDK to report exceptions in English only?

Details

  1. What is your app platform (Xamarin.Android or Xamarin.iOS or UWP)?
    • WPF
  2. If using Xamarin.Forms or if using portable/shared code to call our SDK APIs, are you using shared project, PCL code or .NET standard code for the application? Which .NET standard version or which PCL profile?
    • N/A
  3. Which SDK version are you using?
    • 2.4.0-preview
  4. Which OS version did you experience the issue on?
    • Windows 10
  5. What device version did you see this error on? Were you using an emulator or a physical device?
    • N/A
  6. What third party libraries are you using?
    • N/A
  7. Please enable verbose logging for your app using AppCenter.LogLevel = LogLevel.Verbose before your call to AppCenter.Start(...) and include the logs here:

macmade avatar Oct 31 '19 15:10 macmade

Hey! 😄Yeah, that must be really annoying. Thank you for the request, we'll see what we can do.

annakocheshkova avatar Nov 01 '19 08:11 annakocheshkova

Moving this to a central appcenter repository where we are tracking/prioritizing all requests. Thanks

ahdbilal avatar Nov 01 '19 18:11 ahdbilal

I'm surprised this issue isn't seeing more action. As far as I'm concerned it is a major problem for the reasons already described.

MartinRichards23 avatar Apr 30 '20 10:04 MartinRichards23

It is really annoying. Any updates here?

ricardoboss avatar Oct 09 '20 14:10 ricardoboss

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost avatar Jun 29 '21 18:06 ghost

Issue is not fixed...

macmade avatar Jun 29 '21 18:06 macmade

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost avatar Aug 28 '21 22:08 ghost

Issue is not fixed...

macmade avatar Aug 28 '21 22:08 macmade

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost avatar Nov 03 '21 02:11 ghost

Bump…

macmade avatar Nov 03 '21 09:11 macmade

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost avatar Jan 02 '22 10:01 ghost

Bumping... BTW marking issues as stale, just because no one has any updates doesn't mean it is not important anymore.

ricardoboss avatar Jan 02 '22 15:01 ricardoboss

Hi @ricardoboss and @macmade ,

Exception localization is handled by dotnet based on the language preferences of the end user. They still have an open issue here: https://github.com/dotnet/runtime/issues/46656. There are some workarounds with switching to eng locale while saving a crash report, however I don't think it is a good idea to use such a hack in SDK.

I personally don't see any "normal" way to fix the issue at this moment, but let me know if you have any ideas. I'm moving this feature request to the appcenter-sdk-dotnet repo.

DmitriyKirakosyan avatar Jan 06 '22 14:01 DmitriyKirakosyan

At least this issue did not get closed yet... They closed mine in favor of this one which now is closed again in favor of another...

mlsomers avatar Jul 18 '22 13:07 mlsomers

As we do not have plans to add support for this feature in the next year, I'm closing the issue.

DmitriyKirakosyan avatar Mar 27 '24 08:03 DmitriyKirakosyan

lol

macmade avatar Mar 27 '24 10:03 macmade

Just like that... Here's another one that isn't closed yet...: https://github.com/dotnet/runtime/issues/40427

mlsomers avatar Mar 27 '24 12:03 mlsomers