[openstreetmap/openstreetmap-website] Non-English error message? (#1702)

Tom Hughes notifications at github.com
Sat Dec 16 16:59:13 UTC 2017


Right. Old style single object changes like that are quite unusual now.

It looks like most api methods never bother calling `set_locale` so as I said you will get whatever locale the server happens to have used for the last call which did.

Mostly it doesn't matter because our own API errors are all in english I think and don't go through the translations but the errors that come from rails itself are getting translated.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1702#issuecomment-352195596
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171216/f74dd633/attachment.html>


More information about the rails-dev mailing list