Translation in Android App

Hi,
I was wondering if anyone could tell me about the way to get the translations of data elements in the Android Skeleton App. I am using DHIS 2.29. I get the translations for program and program stage only based the user preferences, not for data elements and option sets.

Hi Monjur,
translations for most of the metadata (including dataElements and optionSets) are downloaded based on user preferences and are available in the “displayXXX” properties. For example, the translated name for a dataElement should be available in the property “displayName()” property.

If you cannot see the translations there, please let know to check it.

1 Like

Thank you very much Victor, yes its available at "displayXXX” properties, and its working.