Translation of Program Names in patient Dashboard

Hello All,

We are looking for translating the Program Names in the Patient Dashboard. Currently, we do not have a provision to give locale specific Program name during program creation.

After enrolling a patient to a specific program, to get the program details it does a REST call to the URL http://localhost:8080/openmrs/ws/rest/v1/programenrollment?patient=6d73320a-c0a9-46ae-b94c-c2370dddff1&v=custom:uuid,program:(uuid),dateEnrolled,dateCompleted,outcome:(display),location:(display,uuid),dateCompleted,outcome,states:(uuid,startDate,endDate,dateCreated,voided,state:(uuid,concept:(display))) and displays.

Reference: Program Details

Please add your thoughts on this.

CC: @mogoodrich @dkayiwa @mksd @mddubey @rrameshbtech

For translations to the Program names, we use message properties. For example…

ui.i18n.Program.name.b1cb1fc1-5190-4f7a-af08-48870975dafc=HIV

Where “HIV” appears on the patient dashboard and program.uuid is “b1cb1fc1-5190-4f7a-af08-48870975dafc”.

1 Like

Thanks Ellen! Lemme check this and get back to you :slight_smile:

Hi Ellen! It did work! Thanks!