← Back to team overview

dhis2-users team mailing list archive

Re: CSV import for translations

 

Hello Morten,

Thanks a lot for the quick response! I will definitely report this issue in JIRA, because it is really handy and also quicker to compile all translation in excel and then quickly import in DHIS2. I’ve had clients with 500+ data elements and 150+ indicators, so translation names, short names and description for these object could be quite a big task.

Thanks again,

Georgi

From: Morten Olav Hansen [mailto:morten@xxxxxxxxx]
Sent: Thursday, March 16, 2017 8:44 AM
To: Georgi Chakarov <georgi@xxxxxxxxxxxxxxxxxxx>
Cc: dhis2-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Dhis2-users] CSV import for translations

Hi Georgi

We don't currently support bulk import of translations anymore, as you might have noticed the model has changed a bit when it comes to translations. The way it works now, is that the translations are directly on the object itself, so what is possible.. is to download the full object and then add your translations in the translation array.

{ .., translations: [{locale: "", property: NAME/SHORT_NAME/DESCRIPTION/FORM_NAME, value: ""}] }

In 226, we also have a new translation app included in the core.

I understand that bulk imports can be useful, so please feel free to create an issue for it in JIRA (jira.dhis2.org<http://jira.dhis2.org>) and we will try and have a look at it for 227.

--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Wed, Mar 15, 2017 at 10:55 PM, Georgi Chakarov <georgi@xxxxxxxxxxxxxxxxxxx<mailto:georgi@xxxxxxxxxxxxxxxxxxx>> wrote:
Hello!
A quick question on translations: Has csv import for translations been removed in DHIS2 versions higher than 2.23?

I was using 2.23 and imported translation for various objects using csv files. Now I am using 2.25 and although in the Import/Export app this functions appears to be available nothing happens when I try to import translations. Any idea?

Is there a way I can bulk import translations in 2.25?

Thanks in advance!
Georgi


Georgi Chakarov, CIA | georgi@xxxxxxxxxxxxxxxxxxx<mailto:georgi@xxxxxxxxxxxxxxxxxxx> | +1-647-478-5634 x 104 | LogicalOutcomes c/o Centre for Social Innovation, 720 Bathurst Street, Toronto Canada M5S 2R4 | You may unsubscribe from receiving commercial electronic messages from LogicalOutcomes by emailing info@xxxxxxxxxxxxxxxxxxx<mailto:info@xxxxxxxxxxxxxxxxxxx>


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Follow ups

References