← Back to team overview

dhis2-devs team mailing list archive

Re: multilingual DHIS2 API and SDK

 

Hi

Translated form names have been available under "displayFormName" for a
long time, I have added code to 2.22 and trunk to also translate options
when requesting a optionset (by id or collection). we can't do this for all
objects, as its a quite heavy operation, normally we only translate a
single object or a collection of objects

--
Morten

On Tue, Feb 9, 2016 at 11:48 PM, Rodolfo Melia <rmelia@xxxxxxxxxxxx> wrote:

> It will be great if we can prioritise the metadata to be multilingual in
> the API. We already know how to translate the Android UI, by generating our
> own build.
>
> I'm copying Morton to see if he can give us an idea of when the API would
> be able to return the Form Name and Options in multilingual format. It is
> critical for many of the implementations that we have in the pipeline in
> Asia - we need the analytics in English, but the data collection, using
> android, in the local language.
>
> *Rodolfo Meliá*
>
>
> On 9 February 2016 at 14:42, Araz Abishov <araz@xxxxxxxxx> wrote:
>
>> Unfortunately, translation of metadata/data is not completely supported
>> in API due to some implementation complexities in the core, so we still
>> don’t know when exactly we will be able to implement multilingual support
>> for android apps.
>>
>> What we can do is additional setting for choosing language in application
>> preferences (but it will work only for UI prompts). In feature, when API
>> will be completely supporting translations, we will be able seamlessly
>> integrate support for it in android apps.
>>
>> Best Regards,
>> Araz Abishov
>>
>> On February 9, 2016 at 3:21:00 PM, Jose Garcia Muñoz (josemp10@xxxxxxxxx)
>> wrote:
>>
>>
>> Hi Araz,
>>
>> I am talking about metadata (dataelements, optionsets, etc...). We don't
>> have problems with the user interface...
>>
>> Thanks Araz
>>
>> On Tue, Feb 9, 2016 at 3:15 PM, Araz Abishov <araz@xxxxxxxxx> wrote:
>>
>>> Hi Jose and David,
>>>
>>> I just have a few questions to understand problem better:
>>>
>>>  - Are we talking about translation of application prompts or
>>> translation of metadata/data?
>>>  - Do you want user to be able to switch languages in user interface? (a
>>> setting which allows to do that)
>>>
>>> Best Regards,
>>> Araz Abishov
>>>
>>> On February 9, 2016 at 1:48:51 PM, David Hagan (
>>> david.hagan@xxxxxxxxxxxxx) wrote:
>>>
>>> Afternoon Jose,
>>>
>>> I second the question!
>>>
>>> Actually, I’ve had this conversation on another thread over the new-year
>>> break as we have a similar requirement (English, Russian, Ukrainian) …
>>> we’re making do with one language at the moment, but the next iteration
>>> cycle of the App really needs the user to be able to switch languages.
>>>
>>> David
>>>
>>> On 9 February 2016 at 13:32, Jose Garcia Muñoz <josemp10@xxxxxxxxx>
>>> wrote:
>>>
>>>>
>>>> Dear Simen, devs,
>>>>
>>>> some months ago we started a conversation with you to know if the
>>>> DHIS2-SDK is supporting multilingual or not? The answer was:
>>>>
>>>> "unfortunately there isn't very good support for multilingual in the
>>>> SDK yet. It's actually not that much work we just haven't prioritized it
>>>> yet so it could be made available without too much trouble... There is
>>>> a bit of work that has do be done on the server side to update the web API.
>>>> Unfortunately I would have to say that it likely would come in 2016, but
>>>> when is unknown"
>>>>
>>>> Do you have any updates? was the DHIS2 web API updated? If not, when
>>>> can we expect that? 2.23?
>>>>
>>>> It is becaming some kind of urgent now because we plan to roll-out
>>>> different android apps in different countries (speaking French, English,
>>>> Spanish, Portuguese)..
>>>>
>>>> Please, let us know if you have some more information to share.
>>>>
>>>> Thanks
>>>> Jose
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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