← Back to team overview

dhis2-users team mailing list archive

Re: Getting data element translations from web API

 

Hi Morten,

ok, thanks. I´m afraid we have to introduce the translations before
April...

I think we will try to insert them directly in the DB (unless someone tells
us not to do it) I can't imagine updating one by one all the DE...

Has someone in the list done this before? If that is the case, would be
nice to know best practices or recomendations.

thanks!

On 4 March 2015 at 12:26, Morten Olav Hansen <mortenoh@xxxxxxxxx> wrote:

> Hi Marta
>
> This + web-api support for translation are included in 2.19 (next release,
> early April), sorry it didnt make it into 2.18
>
> --
> Morten
>
> On Wed, Mar 4, 2015 at 6:19 PM, Marta Vila <martavila@xxxxxxxxx> wrote:
>
>> Hello all,
>>
>> I need to insert translations for for most of my metadata and thougth the
>> Web API would be the fastest way to do it.
>>
>> I understand my need is pretty related to this one that i'm
>> re-opening...so ... was it  finally included in 2.18???
>>
>> Thanks!
>>
>> On 12 January 2015 at 14:37, Morten Olav Hansen <mortenoh@xxxxxxxxx>
>> wrote:
>>
>>> We are looking this for 2.18 but it's not ready yet.
>>> On Jan 12, 2015 7:43 PM, "Blai Samitier" <blaisami@xxxxxxxxxxx> wrote:
>>>
>>>> Hello,
>>>>
>>>> I wonder if it's possible to get the name of a data element from the
>>>> web api in the language defined
>>>> in the profile of the user.
>>>>
>>>> For example, the data element "State of waiting areas" has a spanish
>>>> translation "Estado de las areas
>>>> de espera". Getting this element from /api/dataElements only gives me
>>>> the name in English, regardless
>>>> of the language in the user profile.
>>>>
>>>> Am I doing something wrong? Is there a special resource for field
>>>> translations?
>>>>
>>>> Thanks!
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>

References