<p>/api/0.6/user/details is one of the very few API calls to return localized error messages. While this is good to convene some message to a mapper, in case they have been blocked, it's more difficult for editing applications like JOSM to figure out what happened.</p>
<p>Here's the code in question:</p>
<p><a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/app/controllers/api_controller.rb#L71-L84">https://github.com/openstreetmap/openstreetmap-website/blob/master/app/controllers/api_controller.rb#L71-L84</a></p>
<p>We were wondering if it would be feasible to always include an English language text in the HTTP header field "Error", and show a localized version the HTTP body, as is today.  Would that be a reasonable thing to do?</p>
<p><em>Follow up discussion for <a href="https://josm.openstreetmap.de/ticket/17722" rel="nofollow">https://josm.openstreetmap.de/ticket/17722</a></em></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2227?email_source=notifications&email_token=AAK2OLLJISC3MZ35IFNEZE3PWA7A5A5CNFSM4HN2YVOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GURN6UQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIALIVTJHXFJ2YLUG3PWA7A5ANCNFSM4HN2YVOA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLIJIKYMBEHT6QUK2HDPWA7A5A5CNFSM4HN2YVOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GURN6UQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2227?email_source=notifications\u0026email_token=AAK2OLLJISC3MZ35IFNEZE3PWA7A5A5CNFSM4HN2YVOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GURN6UQ",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2227?email_source=notifications\u0026email_token=AAK2OLLJISC3MZ35IFNEZE3PWA7A5A5CNFSM4HN2YVOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GURN6UQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>