Last modified: 2014-08-02 02:02:02 UTC
Currently, if we do a call such as https://pt.wikipedia.org/w/api.php?action=LOREM+IPSUM&format=jsonfm there will be an error message >"info": "Unrecognized value for parameter 'action': LOREM IPSUM" This kind of messages from API (errors and warnings) should be translatable into the user language.
We should not complicate API itself with i18n too much, but we can certainly make it easier for applications using API by providing localised error message through an API module or RL module for example.
(In reply to comment #1) > We should not complicate API itself with i18n too much, but we can certainly > make it easier for applications using API by providing localised error message > through an API module or RL module for example. I'd agree with something along those lines. Just because someone is using it on a non english wiki (especially in WMFs case), doesn't mean they want their error messages localised. Having some map (though, we probably need to ensure unique error codes), to be able to request a localised version would be sane
*** Bug 45753 has been marked as a duplicate of this bug. ***