How to Load Message from the Message.Propeties file into Javascript

Hi guys I would like to get some little help understanding how openmrs loads its from message.properties file to be userable on javascript

1 Like

did you manage to do it?

@benmwalimu @bgevam did you get a chance to look at this? https://github.com/openmrs/openmrs-module-uicommons/blob/master/omod/src/main/webapp/resources/scripts/emr.js#L53

Together with: https://github.com/openmrs/openmrs-module-uicommons/blob/master/omod/src/main/java/org/openmrs/module/uicommons/fragment/controller/MessagesFragmentController.java

And: https://github.com/openmrs/openmrs-module-coreapps/blob/5245f67481674777ae0e2df6ef3537feb959f400/omod/src/main/webapp/resources/scripts/custom/deletePatient.js#L12