Public bug reported:

Affected version: 2.19
browsers: chrome Version 43 and firefox 38
tomcat version our own : 7.0.62  
application server https://apps.dhis2.org/demo version: ?
OS: Windows 7

Data elements in  the pivot table or in the data visualizer are not listed in 
the language set in the profile(database&interface) when that language is 
different than the reference language.  This is affecting version 2.19 and not 
2.18.
To verify it was not our environment, we replicated the problem in 
https://apps.dhis2.org/demo
for 4 data elements we added a translation which are:
Acute Flaccid Paralysis (AFP) new
Acute Flaccid Paralysis (AFP) follow-up
Acute Flaccid Paralysis (AFP) referrals
Additional notes related to facility
After cleaning statistics cash and running the browser cache cleaner and even 
cleaning the cache in the browser itself (chrome and firefox),the effect that a 
resulting pivot table still show the fields in the reference language 
(English).  You can see in the attached picture that the dates and labels are 
in french but not the labels of the data elements, the picture is created using 
the https://apps.dhis2.org/demo . 
 

In our own environment doing some API digging we can verify that the 
translations are there, we done this with e.g the following call:
server:port/dhis/api/indicators/FDBJ6urFbYK?translate=true
but the api call for getting  the data returns the dataelement names in the 
reference language.

servername:port/dhis/api/analytics.json?dimension=......&dimension=.....;v0AnnHxqvxB;zzh8RELRjMt&dimension=pe:201401;201402;201403;201404;201405;201406;201407;201408;201409;201410;201411;201412&filter=.....&displayProperty=NAME

Extra note 1: when testing  it at https://apps.dhis2.org/demo all fields didn’t 
return the right language (according to the profile and translations done) . 
but in our own environment some fields did return a correct translation, which 
makes this bug even harder to trace. 
Extra note2: seems also that the translations are not working with indicators 
in 2.19 but we didn't tested this exhaustively .

** Affects: dhis2
     Importance: Undecided
         Status: New


** Tags: 2.19 translation

** Attachment added: "pivot table in which data elements labels  should be in 
french"
   
https://bugs.launchpad.net/bugs/1471207/+attachment/4423887/+files/pivotTable.JPG

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1471207

Title:
  Data elements in  the pivot table are not listed in the language set
  in the user profile

Status in DHIS 2:
  New

Bug description:
  Affected version: 2.19
  browsers: chrome Version 43 and firefox 38
  tomcat version our own : 7.0.62  
  application server https://apps.dhis2.org/demo version: ?
  OS: Windows 7

  Data elements in  the pivot table or in the data visualizer are not listed in 
the language set in the profile(database&interface) when that language is 
different than the reference language.  This is affecting version 2.19 and not 
2.18.
  To verify it was not our environment, we replicated the problem in 
  https://apps.dhis2.org/demo
  for 4 data elements we added a translation which are:
  Acute Flaccid Paralysis (AFP) new
  Acute Flaccid Paralysis (AFP) follow-up
  Acute Flaccid Paralysis (AFP) referrals
  Additional notes related to facility
  After cleaning statistics cash and running the browser cache cleaner and even 
cleaning the cache in the browser itself (chrome and firefox),the effect that a 
resulting pivot table still show the fields in the reference language 
(English).  You can see in the attached picture that the dates and labels are 
in french but not the labels of the data elements, the picture is created using 
the https://apps.dhis2.org/demo . 
   

  In our own environment doing some API digging we can verify that the 
translations are there, we done this with e.g the following call:
  server:port/dhis/api/indicators/FDBJ6urFbYK?translate=true
  but the api call for getting  the data returns the dataelement names in the 
reference language.

  
servername:port/dhis/api/analytics.json?dimension=......&dimension=.....;v0AnnHxqvxB;zzh8RELRjMt&dimension=pe:201401;201402;201403;201404;201405;201406;201407;201408;201409;201410;201411;201412&filter=.....&displayProperty=NAME

  Extra note 1: when testing  it at https://apps.dhis2.org/demo all fields 
didn’t return the right language (according to the profile and translations 
done) . but in our own environment some fields did return a correct 
translation, which makes this bug even harder to trace. 
  Extra note2: seems also that the translations are not working with indicators 
in 2.19 but we didn't tested this exhaustively .

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1471207/+subscriptions

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

Reply via email to