Re: [Dhis2-users] CSV import for translations

2017-03-16 Thread Georgi Chakarov
Thank you so much Jason! I am finalizing a list of indicator translations. As 
soon as I have it ready I will prepare a csv import file and will send it your 
way.

Georgi

From: Jason Pickering [mailto:jason.p.picker...@gmail.com]
Sent: Thursday, March 16, 2017 11:40 AM
To: Georgi Chakarov 
Cc: Knut Staring ; dhis2-users@lists.launchpad.net
Subject: Re: [Dhis2-users] CSV import for translations

Hi Georgi,

I think the best solution would be a script which would handle the CSV file, 
until it gets reimplemented in the core. It should be pretty straightforward. 
If you can send me an example, I should be able to provide a simple script to 
deal with the uploading of the translations to the server from a CSV file.


Regards,
Jason


On Thu, Mar 16, 2017 at 10:08 AM, Georgi Chakarov 
> wrote:
I have new clients that are already set up in 2.25. Do you suggest to downgrade 
to 2.24, upload and upgrade to 2.25?

From: Knut Staring [mailto:knu...@gmail.com]
Sent: Thursday, March 16, 2017 11:07 AM
To: Georgi Chakarov 
>
Cc: dhis2-users@lists.launchpad.net; 
Morten Olav Hansen >

Subject: Re: [Dhis2-users] CSV import for translations

I suppose you could import to 2.24 and upgrade.

On Mar 16, 2017 4:00 PM, "Georgi Chakarov" 
> wrote:
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:mor...@dhis2.org]
Sent: Thursday, March 16, 2017 8:44 AM
To: Georgi Chakarov 
>
Cc: dhis2-users@lists.launchpad.net
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) 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 
> 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 | 
geo...@logicaloutcomes.net | +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 
i...@logicaloutcomes.net


___
Mailing list: https://launchpad.net/~dhis2-users
Post to : 
dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-users
Post to : 
dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : 
dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp



--
Jason P. Pickering
email: 

Re: [Dhis2-users] CSV import for translations

2017-03-16 Thread Jason Pickering
Hi Georgi,

I think the best solution would be a script which would handle the CSV
file, until it gets reimplemented in the core. It should be pretty
straightforward. If you can send me an example, I should be able to provide
a simple script to deal with the uploading of the translations to the
server from a CSV file.


Regards,
Jason


On Thu, Mar 16, 2017 at 10:08 AM, Georgi Chakarov <
geo...@logicaloutcomes.net> wrote:

> I have new clients that are already set up in 2.25. Do you suggest to
> downgrade to 2.24, upload and upgrade to 2.25?
>
>
>
> *From:* Knut Staring [mailto:knu...@gmail.com]
> *Sent:* Thursday, March 16, 2017 11:07 AM
> *To:* Georgi Chakarov 
> *Cc:* dhis2-users@lists.launchpad.net; Morten Olav Hansen <
> mor...@dhis2.org>
>
> *Subject:* Re: [Dhis2-users] CSV import for translations
>
>
>
> I suppose you could import to 2.24 and upgrade.
>
>
>
> On Mar 16, 2017 4:00 PM, "Georgi Chakarov" 
> wrote:
>
> 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:mor...@dhis2.org]
> *Sent:* Thursday, March 16, 2017 8:44 AM
> *To:* Georgi Chakarov 
> *Cc:* dhis2-users@lists.launchpad.net
> *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) 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 <
> geo...@logicaloutcomes.net> 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 | geo...@logicaloutcomes.net | +1-647-478-5634 x 104
> <(647)%20478-5634> | 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 *
> *i...@logicaloutcomes.net* 
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] API: Retreive indicators values

2017-03-16 Thread Martin Van Aken
Hi,
Quick question: is there any way to retrieve indicators values for a given
group/set for a given period & entity except via analytics (we want to
avoid being dependent on the analytics having run).

Thanks !

Martin

-- 
*Martin Van Aken - **Freelance Enthusiast Developer*

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken 
Call me on Skype : vanakenm
Hang out with me : mar...@joyouscoding.com
Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
Company website : www.joyouscoding.com
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] API: Retreive indicators values

2017-03-16 Thread Martin Van Aken
Ok, thanks for the quick reply !

Martin

On Thu, Mar 16, 2017 at 10:10 AM, Lars Helge Øverland 
wrote:

> Hi Martin,
>
> unfortunately not. You need to use the analytics API.
>
> regards,
>
> Lars
>
>
> On Thu, Mar 16, 2017 at 10:07 AM, Martin Van Aken  > wrote:
>
>> Hi,
>> Quick question: is there any way to retrieve indicators values for a
>> given group/set for a given period & entity except via analytics (we want
>> to avoid being dependent on the analytics having run).
>>
>> Thanks !
>>
>> Martin
>>
>> --
>> *Martin Van Aken - **Freelance Enthusiast Developer*
>>
>> Mobile : +32 486 899 652
>>
>> Follow me on Twitter : @martinvanaken 
>> Call me on Skype : vanakenm
>> Hang out with me : mar...@joyouscoding.com
>> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
>> Company website : www.joyouscoding.com
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>


-- 
*Martin Van Aken - **Freelance Enthusiast Developer*

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken 
Call me on Skype : vanakenm
Hang out with me : mar...@joyouscoding.com
Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
Company website : www.joyouscoding.com
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] API: Retreive indicators values

2017-03-16 Thread Lars Helge Øverland
Hi Martin,

unfortunately not. You need to use the analytics API.

regards,

Lars


On Thu, Mar 16, 2017 at 10:07 AM, Martin Van Aken 
wrote:

> Hi,
> Quick question: is there any way to retrieve indicators values for a given
> group/set for a given period & entity except via analytics (we want to
> avoid being dependent on the analytics having run).
>
> Thanks !
>
> Martin
>
> --
> *Martin Van Aken - **Freelance Enthusiast Developer*
>
> Mobile : +32 486 899 652
>
> Follow me on Twitter : @martinvanaken 
> Call me on Skype : vanakenm
> Hang out with me : mar...@joyouscoding.com
> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
> Company website : www.joyouscoding.com
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] CSV import for translations

2017-03-16 Thread Georgi Chakarov
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:mor...@dhis2.org]
Sent: Thursday, March 16, 2017 8:44 AM
To: Georgi Chakarov 
Cc: dhis2-users@lists.launchpad.net
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) 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 
> 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 | 
geo...@logicaloutcomes.net | +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 
i...@logicaloutcomes.net


___
Mailing list: https://launchpad.net/~dhis2-users
Post to : 
dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Lock dataset for past data entry

2017-03-16 Thread Raminosoa Rabemanantsoa, Tantely
Dear Community,

I am trying to use the "Expiry days" parameter in order to lock the dataset
for further entry, with DHIS2 2.24. I have put a value of 60 in order to
have the dataset unlocked for the 2 last months. But the dataset is still
open for data entry for all periods. Could anyone give a hand on this?

Best,

Tantely.

-- 
*This message and its attachments are confidential and solely for the 
intended recipients. If received in error, please delete them and notify 
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp