← Back to team overview

dhis2-users team mailing list archive

Re: Apps menu is not translated: 2,24 demo site

 

Should be done for both 2.24 and trunk

Something to note, there is still a bug in the System Settings App that
does not make the translations for the sub-objects in the maintenance show
up. Like when searching for "Data Element". All "normal" apps should show
up as translated.

On Tue, Jul 19, 2016 at 3:03 PM, Knut Staring <knutst@xxxxxxxxx> wrote:

> Thanks for the clarification! Looking forward to seeing it.
>
> On Jul 19, 2016 7:30 PM, "Mark Polak" <mark@xxxxxxxxx> wrote:
>
>> Ok maybe i wasn't clear.
>>
>> The old menu translated the names using a sort of "hack".
>> The new one does not.
>>
>> In tracker-capture, event-capture and browser-cache-cleaner you will
>> therefore see the correctly translated apps, due to the fact that that is
>> the old menu.
>> Everywhere else we use the new menu, which does not do this extra
>> translation so there you will always see the apps menu items in English.
>>
>> I'm working on having the new menu do the same thing the old one did,
>> until we fix it on the server side. I expect to have it in there probably
>> today, but i'll need to redeploy all the apps, so might take a bit of time.
>>
>> On Tue, Jul 19, 2016 at 2:51 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>
>>> Aha... so even the hack does not work that great? Can it be fixed?
>>>
>>> On Jul 19, 2016 7:14 PM, "Mark Polak" <mark@xxxxxxxxx> wrote:
>>>
>>>> Thats the old menu, which does have the hack ;) No search bar in the
>>>> header-bar. Yes we do have two different header-bars atm... but i guess the
>>>> difference is so small you didn't even notice ;)
>>>>
>>>> It's only the angular apps that currently still have the old version.
>>>> Due to tracker and event capture's offline needs.
>>>>
>>>> On Tue, Jul 19, 2016 at 1:55 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>>>
>>>>> Well, actually it is not quite as you expected, Mark - they DO show up
>>>>> after cleaning cache as Dipali said (before you restored the hack).
>>>>> See screenshot. So the question is why they disappear later.
>>>>>
>>>>> I do appreciate restoring the hack, since we then have something
>>>>> working, however, from a user perspective it looked like you almost had it
>>>>> before also - as long as the cache was cleared.
>>>>>
>>>>> Knut
>>>>>
>>>>> On Tue, Jul 19, 2016 at 11:39 AM, Mark Polak <mark@xxxxxxxxx> wrote:
>>>>>
>>>>>> Heya,
>>>>>>
>>>>>> Yes that is as expected then. It's how the server returns the Menu
>>>>>> items from [1], these are always in English. In the old menu we hacked this
>>>>>> to ask for the translations. In the new one we haven't, we were looking on
>>>>>> how to resolve it on the server for the 2.24 release but it hasn't made it
>>>>>> in. I can hack the menu temporarily to make this work as before. (As that
>>>>>> might be the easiest solution for now)
>>>>>>
>>>>>> [1]
>>>>>> https://play.dhis2.org/demo/dhis-web-commons/menu/getModules.action
>>>>>>
>>>>>> On Tue, Jul 19, 2016 at 5:30 AM, Knut Staring <knutst@xxxxxxxxx>
>>>>>> wrote:
>>>>>>
>>>>>>> Actually, seems the translations only show up for the icons under
>>>>>>> the Profile button. See the attached screenshots.
>>>>>>>
>>>>>>> Knut
>>>>>>>
>>>>>>>
>>>>>>> On Tuesday, July 19, 2016, Knut Staring <knutst@xxxxxxxxx> wrote:
>>>>>>>
>>>>>>>> Hi Mark, I confirm. Saw the same with Burmese : the translation
>>>>>>>> show nicely after cleaning cache,  but revert to English if you log out and
>>>>>>>> in again.
>>>>>>>>
>>>>>>>> On 19 Jul 2016 2:28 a.m., "Mark Polak" <mark@xxxxxxxxx> wrote:
>>>>>>>>
>>>>>>>>> Hey Dipali,
>>>>>>>>>
>>>>>>>>> Are you sure you see the apps in French? I see the search place
>>>>>>>>> holder in french, but the apps are still in English (See screenshot) If you
>>>>>>>>> observed this differently, i'd like to confirm that.
>>>>>>>>>
>>>>>>>>> [image: Inline image 1]
>>>>>>>>>
>>>>>>>>> On Mon, Jul 18, 2016 at 8:08 PM, Dipali Sahu <
>>>>>>>>> dipali.sahu@xxxxxxxxx> wrote:
>>>>>>>>>
>>>>>>>>>> I can submit a bug report.. Can you please send me the link where
>>>>>>>>>> to file the bug.
>>>>>>>>>>
>>>>>>>>>> On Jul 18, 2016 11:28 PM, "Jason Pickering" <
>>>>>>>>>> jason.p.pickering@xxxxxxxxx> wrote:
>>>>>>>>>>
>>>>>>>>>>> It's a known yet undocumented issue with the translations in the
>>>>>>>>>>> current version.
>>>>>>>>>>>
>>>>>>>>>>> If someone can submit a bug report, this might help to get it
>>>>>>>>>>> fixed.
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Jason
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jul 18, 2016, 19:55 Knut Staring <knutst@xxxxxxxxx>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Ok, yes, I see that effect now on https://play.dhis2.org/demo/
>>>>>>>>>>>> (with French). That is clearly an issue.
>>>>>>>>>>>>
>>>>>>>>>>>> Knut
>>>>>>>>>>>>
>>>>>>>>>>>> On Monday, July 18, 2016, Dipali Sahu <dipali.sahu@xxxxxxxxx>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Knut
>>>>>>>>>>>>>
>>>>>>>>>>>>> Yes, you are right, it did work after clearing the cache, but
>>>>>>>>>>>>> the *issue is* : I checked it multiple times and I needed to
>>>>>>>>>>>>> clear the cache each time I logged in with this username (who had French
>>>>>>>>>>>>> language settings).
>>>>>>>>>>>>>
>>>>>>>>>>>>> Ideally the user should see the apps in translated language as
>>>>>>>>>>>>> soon as they log in, without the need of clearing cache each time. This was
>>>>>>>>>>>>> completely ok in 2.21.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Here is what happens :
>>>>>>>>>>>>>
>>>>>>>>>>>>> Log in : See apps in English
>>>>>>>>>>>>> Clear cache : See apps in French.
>>>>>>>>>>>>> Log out  >> Log in >> See apps in English again
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jul 18, 2016 at 9:41 PM, Knut Staring <
>>>>>>>>>>>>> knutst@xxxxxxxxx> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Dipali,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> It is working fine for me after using the browser cache
>>>>>>>>>>>>>> cleaner (twice).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Knut
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Monday, July 18, 2016, Dipali Sahu <dipali.sahu@xxxxxxxxx>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Apps menu doesn't show translated icons on changing the
>>>>>>>>>>>>>>> language of the interface and database. It worked fine in 2.21.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [image: Inline image 1]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Knut Staring
>>>>>>>>>>>>>> Dept. of Informatics, University of Oslo
>>>>>>>>>>>>>> Norway: +4791880522
>>>>>>>>>>>>>> Skype: knutstar
>>>>>>>>>>>>>> http://dhis2.org
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Knut Staring
>>>>>>>>>>>> Dept. of Informatics, University of Oslo
>>>>>>>>>>>> Norway: +4791880522
>>>>>>>>>>>> Skype: knutstar
>>>>>>>>>>>> http://dhis2.org
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Mark Polak
>>>>>>>>> Software developer, DHIS 2
>>>>>>>>> University of Oslo
>>>>>>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>>>>>> mark@xxxxxxxxx
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Knut Staring
>>>>>>> Dept. of Informatics, University of Oslo
>>>>>>> Norway: +4791880522
>>>>>>> Skype: knutstar
>>>>>>> http://dhis2.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>>
>>>>>>
>>>>>> Mark Polak
>>>>>> Software developer, DHIS 2
>>>>>> University of Oslo
>>>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>>> mark@xxxxxxxxx
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Knut Staring
>>>>> Dept. of Informatics, University of Oslo
>>>>> Norway: +4791880522
>>>>> Skype: knutstar
>>>>> http://dhis2.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>>
>>>>
>>>> Mark Polak
>>>> Software developer, DHIS 2
>>>> University of Oslo
>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>> mark@xxxxxxxxx
>>>>
>>>
>>
>>
>> --
>> Regards,
>>
>>
>> Mark Polak
>> Software developer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org <https://www.dhis2.org/>
>> mark@xxxxxxxxx
>>
>


-- 
Regards,


Mark Polak
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://www.dhis2.org/>
mark@xxxxxxxxx

PNG image

PNG image


Follow ups

References