← Back to team overview

dhis2-devs team mailing list archive

Re: Internationalization of Web API response info / conflicts?

 

Thanks Morten.

On a related note, have you defined how you will be changing the response
messages yet? We've written a rudimentary response message parser as part
of our app because we get quite inconsistent results from the various web
api calls. EG: some responses return "conflicts" whereas others return
"importConflicts". Also we consistently ask for the response in JSON yet
some responses return HTML regardless which makes parsing the responses
difficult.

Knowing the changes you have planned will be helpful as it could
potentially break the way we're currently parsing the results.

By the way, we're working off 2.20 snapshot.

Thanks,

Lorill



On Tue, Jun 16, 2015 at 7:39 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
wrote:

> Hi
>
> No, this is not currently supported. We might support it in a future
> release, as we are changing our responses messages a bit in 2.20/2.21.
>
> --
> Morten
>
> On Wed, Jun 17, 2015 at 5:58 AM, Lorill Crees <lcrees@xxxxxxxxxx> wrote:
>
>> Hi All,
>>
>> Is it possible to receive messages back from the web api in other
>> languages? Specifically if there are import conflicts we would like to give
>> these messages back to the user in their preferred language.
>>
>> Thanks,
>>
>> Lorill
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

Follow ups

References