dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #48842
Re: 2.26 Metadata Import - CSV Translations
Hi David,
in 2.25 we completely changed the way translations are handled. They are
now stored as a collection associated with each object, and not as a
separate entity. The CSV import of translations has unfortunately been
removed (we will have to update the docs). To illustrate the point:
https://play.dhis2.org/demo/api/26/dataElements/fbfJHSPpUQD.json?fields=id,name,translations
We do have a new API for metadata translations, based on JSON. You can find
the docs here:
https://docs.dhis2.org/master/en/developer/html/webapi_browsing_the_web_api.html#webapi_translation_api
best regards,
Lars
On Sat, Mar 4, 2017 at 12:36 PM, David Hagan <david.hagan@xxxxxxxxxxxxx>
wrote:
> Further to my previous email ... there are 'no' warnings or status
> messages generated in the logs when I attempt to load up the translation
> csv file.
>
> Cheers
>
> DH
>
>
> On 4 March 2017 at 07:32, David Hagan <david.hagan@xxxxxxxxxxxxx> wrote:
>
>> Quick question ...
>>
>> I noticed that the documentation on the format for CSV Translation Files
>> has disappeared from the 2.26 Dev Manual (is was available in the 2.25 Dev
>> Manual), the the option is still available on the UI import for CSV.
>>
>> I tried a CSV import (I need to import about 10000 Arabic terms for org
>> units, ICD 10 option set etc.) using the previously documented format:
>>
>> ObjectId ClassName Locale Property Value
>>
>> But don't get anything form the UI (no feedback) which normally means an
>> error. Don't have time right now to check as I'm about to get on a
>> long-haul flight. Note, I tested this on the stable play.dhis2.org demo
>> instance as well with the same described symptoms.
>>
>> Is this supposed to work or not on v2.26?
>>
>> David
>>
>
>
> _______________________________________________
> 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
>
>
--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx
http://www.dhis2.org <https://www.dhis2.org/>
References