← Back to team overview

dhis2-devs team mailing list archive

Re: Program translations are not working in 2.24

 

Hi Archana,

The fix has been applied for 2.24

Regards,

On Fri, Oct 14, 2016 at 7:40 PM, Archana Chillala <archanac@xxxxxxxxxxxxxxxx
> wrote:

> Sure, Thanks Viet.
>
> Archana Chillala
> Application Developer
> Email archanac@xxxxxxxxxxxxxxxx
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Fri, Oct 14, 2016 at 3:37 PM, Viet Nguyen <viet@xxxxxxxxx> wrote:
>
>> Thanks Archana,
>>
>> I figured out what causes the issue, will work on the fix and update.
>>
>> Regards,
>>
>> On Fri, Oct 14, 2016 at 4:41 PM, Archana Chillala <
>> archanac@xxxxxxxxxxxxxxxx> wrote:
>>
>>> Hi Viet,
>>>
>>> Yes, we cleared the browser cache and tried, but still the same
>>> behaviour. So, what we observed is, even if the translations are showing in
>>> the UI of DHIS, the APIs for the same are not updated. The "
>>> *displayName*" property of the object shows only English locale, even
>>> if the locale is changed to French and has translations for French.
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archanac@xxxxxxxxxxxxxxxx
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> On Fri, Oct 14, 2016 at 2:38 PM, Viet Nguyen <viet@xxxxxxxxx> wrote:
>>>
>>>> Hi Archana,
>>>>
>>>> I can't reproduce that issue on my local.
>>>>
>>>> Did you try to clear browser cache ?
>>>>
>>>> On Fri, Oct 14, 2016 at 1:58 PM, Archana Chillala <
>>>> archanac@xxxxxxxxxxxxxxxx> wrote:
>>>>
>>>>> Hi Viet,
>>>>>
>>>>> We have tested the fix - translations for programs and program
>>>>> sections - in 2.24. But, looks like the translations are not reflected when
>>>>> they are updated or modified.
>>>>>
>>>>> When we provide a translation for a program and check with that
>>>>> particular locale, it works fine. It's getting translated. But, when we
>>>>> modify the existing translation, the modified translation is not showing up
>>>>> on the UI. This is the case for both Programs and Program Stage sections.
>>>>> The APIs also not reflecting the modified translations.
>>>>>
>>>>> In the UI, however, if we see the translations, dialogue box, the
>>>>> newly modified name still exists. Here, the Program "Printable_Program_1"
>>>>> has a newly modified translation as shown. And no errors are shown when
>>>>> saved.
>>>>>
>>>>> [image: Inline image 1]
>>>>> But, on the UI, the name first translated only remains. Here, "program
>>>>> in french 1 modified", is the first translation added for a program
>>>>> "Printable_Program_1".
>>>>>
>>>>> [image: Inline image 2]
>>>>>
>>>>>
>>>>>
>>>>> Could you please look into it and help fix it.
>>>>>
>>>>>
>>>>> *Cheers,*
>>>>>
>>>>> Archana Chillala
>>>>> Application Developer
>>>>> Email archanac@xxxxxxxxxxxxxxxx
>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>> [image: ThoughtWorks]
>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>
>>>>> On Tue, Oct 11, 2016 at 8:14 AM, Viet Nguyen <viet@xxxxxxxxx> wrote:
>>>>>
>>>>>> Hi Archana,
>>>>>>
>>>>>> This should be fixed now in 2.24.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>>
>>>>>> On Mon, Oct 10, 2016 at 6:58 PM, Archana Chillala <
>>>>>> archanac@xxxxxxxxxxxxxxxx> wrote:
>>>>>>
>>>>>>> Thank you, Viet.
>>>>>>>
>>>>>>> Archana Chillala
>>>>>>> Application Developer
>>>>>>> Email archanac@xxxxxxxxxxxxxxxx
>>>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>>>> [image: ThoughtWorks]
>>>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>>>
>>>>>>> On Mon, Oct 10, 2016 at 5:23 PM, Viet Nguyen <viet@xxxxxxxxx> wrote:
>>>>>>>
>>>>>>>> Hi Archana,
>>>>>>>>
>>>>>>>> Sorry for late reply.
>>>>>>>>
>>>>>>>> I have tested and confirm this is a bug for 2.24. Will apply the
>>>>>>>> fix and update you shortly.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Oct 10, 2016 at 4:26 PM, Archana Chillala <
>>>>>>>> archanac@xxxxxxxxxxxxxxxx> wrote:
>>>>>>>>
>>>>>>>>> Hi Team,
>>>>>>>>>
>>>>>>>>> Program translations are working in 2.25, but not on 2.24. Could
>>>>>>>>> you please backport the fix to 2.24 as well.
>>>>>>>>>
>>>>>>>>> Archana Chillala
>>>>>>>>> Application Developer
>>>>>>>>> Email archanac@xxxxxxxxxxxxxxxx
>>>>>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>>>>>> [image: ThoughtWorks]
>>>>>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>>>>>>
>>>>>>>>> On Thu, Sep 29, 2016 at 6:31 PM, Anilkumar Kodi <
>>>>>>>>> anilkumk@xxxxxxxxxxxxxxxx> wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> Any Update on this?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Sep 27, 2016 at 4:42 PM, Anilkumar Kodi <
>>>>>>>>>> anilkumk@xxxxxxxxxxxxxxxx> wrote:
>>>>>>>>>>
>>>>>>>>>>> To add to the same, We could see the translations in
>>>>>>>>>>> 'translation' table, but we're guessing it should be available in
>>>>>>>>>>> objecttranslation table and there should have mapping in programtranslation
>>>>>>>>>>> or programstagetranslation to get translations in UI.
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Sep 27, 2016 at 4:31 PM, Anilkumar Kodi <
>>>>>>>>>>> anilkumk@xxxxxxxxxxxxxxxx> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>
>>>>>>>>>>>> Translations for programs, program stages and Program Stage
>>>>>>>>>>>> sections are not working in DHIS 2.24 version. Even if translations exist,
>>>>>>>>>>>> they're not showing up on the UI. But, the same is working in trunk.  Could
>>>>>>>>>>>> you help fix it in 2.24 as well.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Anil Kumar Kodi.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Viet Nguyen
>>>>>>>> Software Engineer, DHIS 2
>>>>>>>> University of Oslo
>>>>>>>> http://www.dhis2.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Viet Nguyen
>>>>>> Software Engineer, DHIS 2
>>>>>> University of Oslo
>>>>>> http://www.dhis2.org
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Viet Nguyen
>>>> Software Engineer, DHIS 2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> Viet Nguyen
>> Software Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>>
>>
>


-- 

Viet Nguyen
Software Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

PNG image

PNG image


Follow ups

References