microsoft / api-guidelines

Microsoft REST API Guidelines
Other
22.8k stars 2.71k forks source link

Error message localization #518

Open OlgaPodo opened 10 months ago

OlgaPodo commented 10 months ago

It's be great for Microsoft API REST API guidelines to be explicit about using Accept-Language header and localized detailed error message like above.

OlgaPodo commented 10 months ago

ADR-007 image https://microsoft.sharepoint.com/teams/APICouncil/_layouts/OneNote.aspx?id=%2Fteams%2FAPICouncil%2FSiteAssets%2FAPI%20Council%20Notebook&wd=target%28ADRs.one%7CCC35B798-B670-4554-9FCF-1682729EFA23%2FADR%20-007%20Adding%20optional%20%22localizedMessage%22%20to%20top-level%7C0024E522-950E-422A-8AF8-AF57BC018ED3%2F%29 onenote:https://microsoft.sharepoint.com/teams/APICouncil/SiteAssets/API%20Council%20Notebook/ADRs.one#ADR%20-007%20Adding%20optional%20%22localizedMessage%22%20to%20top-level&section-id={CC35B798-B670-4554-9FCF-1682729EFA23}&page-id={0024E522-950E-422A-8AF8-AF57BC018ED3}&end