dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #44658
Using API to get translated collections
Hi,
Hope all are well.
I'm trying to get translations of some things through the API. Items and associated collections. In the example below, the api returns translated dataElement displayName but not translations of the associated collections (dataElementGroup displayName):
api/dataElements.json?fields=:id,displayName,dataElementGroups[id,displayName]&locale=es
Wondering if this is a limitation with the API or an issue with the format of the request? The developer manuals don't offer any examples on translations.
Cheers
Craig
Follow ups