​Any update on this?​

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
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, Sep 9, 2016 at 7:14 PM, Archana Chillala <archa...@thoughtworks.com>
wrote:

> Hi Team,
>
> We are using DHIS version 2.24. We are looking at translation of metadata
> objects and saw that only properties like 'displayName',
> 'displayDescription', 'displayShortName' etc can be translated into
> different locales if values exist for them. It works for most of the
> entities like Data Elements, Data Sets, programs, indicators etc. But, we
> were not able to add any translations for charts, report tables, event
> charts and event reports as there was no interface for these objects to add
> translations. However, we looked at their APIs and saw that charts, tables
> etc have got the 'displayName' property and therefore can be translated. We
> tried adding translation for chart's displayName using APIs - PUT method,
> but it gave an error
>
> {
>   "httpStatus": "Internal Server Error",
>   "httpStatusCode": 500,
>   "status": "ERROR",
>   "message": "object references an unsaved transient instance - save the
> transient instance before flushing: org.hisp.dhis.translation.
> ObjectTranslation"
> }
>
>
> Could you please let us know how we can add translations to Chart names,
> table names etc.
>
>
> Also, another issue is that Report Tables and Event Reports do not have a
> table title (not the table name) -- like it exists for charts and event
> charts (in Options --> Chart Title). Is there a plan in the future to add
> 'Title' for Report table and Event Reports app ?
> As of now, since we can add title to Charts and Event Charts, could you
> please tell us how we could translate them?
>
>
> Thanks in advance.
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> 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>
>
_______________________________________________
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